소스 검색

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();
             }
         }
     }