浏览代码

Fix zip download

sebavan 4 年之前
父节点
当前提交
1bd25309f8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Playground/zipContent/index.html

+ 1 - 1
Playground/zipContent/index.html

@@ -45,7 +45,7 @@
 ####INJECT####
 
         engine.runRenderLoop(function () {
-            if (sceneToRender) {
+            if (sceneToRender && sceneToRender.activeCamera) {
                 sceneToRender.render();
             }
         });