brlrt / away3d

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

[Away3Dlite] Objects added before first render don't translate correctly #77

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

0. Using Flex 3 and Away3Dlite (trunk)
1. Create your view
2. Add a purple sphere radius 10, alpha 0.5 to the view.scene before the 
first render (onEnterFrame)
3. Add a green sphere radius 5, alpha 1 to the view.scene after the first 
render
4. Move both spheres to the same location.

What is the expected output? What do you see instead?

The expected output should be that one sphere is inside the other. What I 
see is the two spheres in two very different locations. The green sphere 
is in the correct locations the purple sphere is not.

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

Flex 3
Away3dlite (trunk)
Windows Vista
MSIE 8
Flash 10

Please provide any additional information below.

I also tried adding the first object before the view was added to the 
stage and then after but this did not help.

Workaround: Never add an object to the scene prior to the first render 
event.

Original issue reported on code.google.com by tonyghe...@gmail.com on 8 Nov 2009 at 12:04