brlrt / away3d

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

[Broomstick] [SOURCE ATTACHED] RemoveChild Causes Run-Time Error #181

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
[SOURCE CODE ATTACHED]

What steps will reproduce the problem?
1. Add any primitive shape or model to an ObjectContainer3D using addChild. 
2. Wait for 1ms
3. Remove the child, then add it again, then remove it again.
4. Try to call view.render(). You will get a run-time error in Partition3D.as

What version of the product are you using? On what operating system?
Away3D 4 Broomstick - latest code from SVN

Please provide any additional information below.
Please run the attached source code.

Original issue reported on code.google.com by macro.ma...@gmail.com on 27 Apr 2011 at 10:15

Attachments:

GoogleCodeExporter commented 8 years ago
John Brookes has advised that I can call view.render() between adding/removing. 
Have tested, and doing this does resolve this issue.

Original comment by macro.ma...@gmail.com on 27 Apr 2011 at 11:08