Podracer / papervision3d

Automatically exported from code.google.com/p/papervision3d
0 stars 1 forks source link

ViewportLayer.as - removeDisplayObject3D #277

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Try to remove a displayObject with children from a viewportlayer

What is the expected output? What do you see instead?
You'd expect to see the children removed too, seeing as this was 'fixed' in 
r934.

What version of the product are you using? On what operating system?
r942

Please provide any additional information below.

CHANGE:
for each (var child:DisplayObject3D in do3d)

TO:
for each (var child:DisplayObject3D in do3d.children) - Problem solved. 

Still chasing a memory leak somewhere though!

Original issue reported on code.google.com by trentste...@gmail.com on 19 Nov 2010 at 2:53