Explorar el Código

Fix typo in sandbox

Gary Hsu hace 7 años
padre
commit
1005a83f45
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      sandbox/index.js

+ 2 - 2
sandbox/index.js

@@ -313,9 +313,9 @@ if (BABYLON.Engine.isSupported()) {
             else {
             else {
                 footer.style.display = "none";
                 footer.style.display = "none";
                 errorZone.style.display = "none";
                 errorZone.style.display = "none";
-                if (enableDebugLayer) {
+                if (debugLayerEnabled) {
                     currentScene.debugLayer.hide();
                     currentScene.debugLayer.hide();
-                    enableDebugLayer = false;
+                    debugLayerEnabled = false;
                 }
                 }
             }
             }
         }
         }