vujadin / BabylonHx

Port of Babylon.js 3D engine to Haxe.
http:/paradoxplay.com/babylonhx
Apache License 2.0
189 stars 43 forks source link

Fix: Crash if you have a camera with multiple postprocesses. #138

Closed aW4KeNiNG closed 7 years ago

aW4KeNiNG commented 7 years ago

I have multiple postprocesses in my camera and it crashes when the dispose method is called because the index var is out of limits.

For example, the flow with 2 postprocesses is:

I have created a PR in BabylonJS too. https://github.com/BabylonJS/Babylon.js/pull/1598

vujadin commented 7 years ago

Thanks!