Преглед изворни кода

Fix when using customStatsFunction in debugLayer

Benjamin Guignabert пре 9 година
родитељ
комит
ae3b0b15f0
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/Debug/babylon.debugLayer.ts

+ 1 - 1
src/Debug/babylon.debugLayer.ts

@@ -826,7 +826,7 @@
                 + glInfo.renderer + "<br>";
 
             if (this.customStatsFunction) {
-                this._statsSubsetDiv.innerHTML += this._statsSubsetDiv.innerHTML;
+                this._statsSubsetDiv.innerHTML += this.customStatsFunction();
             }
         }
     }