瀏覽代碼

Fixes https://github.com/BabylonJS/Babylon.js/issues/2301 (there was an accidentaly duplicated code).

Łukasz Borchmann 8 年之前
父節點
當前提交
9ee35be260
共有 1 個文件被更改,包括 0 次插入7 次删除
  1. 0 7
      inspector/src/tabs/StatsTab.ts

+ 0 - 7
inspector/src/tabs/StatsTab.ts

@@ -68,13 +68,6 @@ module INSPECTOR {
                     updateFct:() => { return this._scene.lights.length.toString()}
                 });
 
-                elemLabel = this._createStatLabel("Total lights", this._panel);
-                elemValue = Helpers.CreateDiv('stat-value', this._panel);
-                this._updatableProperties.push({ 
-                    elem:elemValue, 
-                    updateFct:() => { return this._scene.lights.length.toString()}
-                });
-
                 elemLabel = this._createStatLabel("Total vertices", this._panel);
                 elemValue = Helpers.CreateDiv('stat-value', this._panel);
                 this._updatableProperties.push({