Raanan Weber %!s(int64=5) %!d(string=hai) anos
pai
achega
e812311349
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      Playground/js/frame.js

+ 2 - 1
Playground/js/frame.js

@@ -118,8 +118,9 @@ run = function () {
                 if (scene.activeCamera || scene.activeCameras.length > 0) {
                     scene.render();
                 }
-                if (fpsLabel)
+                if (fpsLabel) {
                     fpsLabel.innerHTML = engine.getFps().toFixed() + " fps";
+                }
             }.bind(this));
 
         } catch (e) {