瀏覽代碼

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++) {