Raanan Weber 5 سال پیش
والد
کامیت
e812311349
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  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) {
                 if (scene.activeCamera || scene.activeCameras.length > 0) {
                     scene.render();
                     scene.render();
                 }
                 }
-                if (fpsLabel)
+                if (fpsLabel) {
                     fpsLabel.innerHTML = engine.getFps().toFixed() + " fps";
                     fpsLabel.innerHTML = engine.getFps().toFixed() + " fps";
+                }
             }.bind(this));
             }.bind(this));
 
 
         } catch (e) {
         } catch (e) {