Browse Source

Fix zip download

sebavan 4 years ago
parent
commit
1bd25309f8
1 changed files with 1 additions and 1 deletions
  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();
             }
         });