소스 검색

Merge pull request #1646 from DawnKing/master

index is not set, it's always undefined.
David Catuhe 8 년 전
부모
커밋
35a65aaf23
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/Cameras/babylon.camera.ts

+ 1 - 0
src/Cameras/babylon.camera.ts

@@ -353,6 +353,7 @@
                         result.push(i);
                         continue;
                     }
+                    index = atIndices[i];
                     this._postProcesses.splice(index, 1);
                 }
             }