瀏覽代碼

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