소스 검색

Update babylon.scene.ts

sebavan 7 년 전
부모
커밋
154c76cacd
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/babylon.scene.ts

+ 1 - 1
src/babylon.scene.ts

@@ -3212,7 +3212,7 @@
             if (this.textures) {
                 for (let i = 0; i < this.textures.length; i++) {
                     let texture = this.textures[i];
-                    if (texture && texture.renderList) {
+                    if (texture && (<RenderTargetTexture>texture).renderList) {
                         (<RenderTargetTexture>texture).freeRenderingGroups();
                     }
                 }