Browse Source

Fix typo in unlit property of pbr material

Gary Hsu 7 years ago
parent
commit
788c06dd2c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Materials/PBR/babylon.pbrMaterial.ts

+ 1 - 1
src/Materials/PBR/babylon.pbrMaterial.ts

@@ -487,7 +487,7 @@
          * If set to true, no lighting calculations will be applied.
          */
         @serialize()
-        @expandToProperty("_markAllSubMeshesAsLightsDirty")
+        @expandToProperty("_markAllSubMeshesAsMiscDirty")
         public unlit = false;
 
         /**