Browse Source

index is not set, it's always undefined.

DawnKing 8 years ago
parent
commit
d1f98b8f7b
1 changed files with 1 additions and 0 deletions
  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);
                 }
             }