Explorar el Código

Merge pull request #9144 from sebavan/master

Fix zip download
sebavan hace 4 años
padre
commit
e4c81a68bc
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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();
             }
         });