bigosmallm / papervision3d

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

ViewportLayer.as - removeDisplayObject3D #277

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 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