浏览代码

index is not set, it's always undefined.

DawnKing 8 年之前
父节点
当前提交
d1f98b8f7b
共有 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);
                 }
             }