Explorar el Código

Change Mesh default layerMask, such that special cameras can be built
that cannot see those meshes which default.

jeff Palmer hace 10 años
padre
commit
58b9f4c046
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Babylon/Mesh/babylon.abstractMesh.ts

+ 1 - 1
Babylon/Mesh/babylon.abstractMesh.ts

@@ -63,7 +63,7 @@
         public useOctreeForPicking = true;
         public useOctreeForCollisions = true;
 
-        public layerMask: number = 0xFFFFFFFF;
+        public layerMask: number = 0x0FFFFFFF;
 
         // Physics
         public _physicImpostor = PhysicsEngine.NoImpostor;