浏览代码

Merge pull request #1119 from CraigFeldspar/patch-1

Fix when using customStatsFunction in debugLayer
David Catuhe 9 年之前
父节点
当前提交
0f73fd299b
共有 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();
             }
         }
     }