Przeglądaj źródła

Fix zip download

sebavan 5 lat temu
rodzic
commit
1bd25309f8
1 zmienionych plików z 1 dodań i 1 usunięć
  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();
             }
         });