Просмотр исходного кода

Merge pull request #1646 from DawnKing/master

index is not set, it's always undefined.
David Catuhe 8 лет назад
Родитель
Сommit
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);
                 }
             }