Explorar el Código

Merge pull request #1646 from DawnKing/master

index is not set, it's always undefined.
David Catuhe hace 8 años
padre
commit
35a65aaf23
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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);
                 }
             }