Sfoglia il codice sorgente

Merge pull request #9144 from sebavan/master

Fix zip download
sebavan 4 anni fa
parent
commit
e4c81a68bc
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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();
             }
         });