소스 검색

Support LightmapMode Parsing

Note: No Need For Whats New
MackeyK24 6 년 전
부모
커밋
e1bb8ca62c
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      src/Lights/light.ts

+ 5 - 0
src/Lights/light.ts

@@ -607,6 +607,11 @@ export abstract class Light extends Node {
             light._waitingParentId = parsedLight.parentId;
         }
 
+        // Lightmaps
+        if (parsedLight.lightmapMode) {
+            light.lightmapMode = parsedLight.lightmapMode;
+        }
+
         // Animations
         if (parsedLight.animations) {
             for (var animationIndex = 0; animationIndex < parsedLight.animations.length; animationIndex++) {