brlrt / away3d

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

screenZOffset does not work for Collada #46

Closed GoogleCodeExporter closed 8 years ago

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

var colladaObj:Object3DLoader = Collada.load(url);
colladaObj.ownCanvas = true;
colladaObj.screenZOffset = 10000;
view.scene.addChild(colladaObj);

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

colladaObj should be drawn in the back, but it is not.
screenZOffset is ignored.

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

tested with svn trunk version. Windows XP.

Please provide any additional information below.

This bug is caused because screenZOffset is not properly copied.
The fix is to insert the following at line 156 of
away3d.loaders.Object3DLoader (as of rev 1398):

_result.screenZOffset = screenZOffset;

Original issue reported on code.google.com by ichize...@gmail.com on 11 Jun 2009 at 3:10

GoogleCodeExporter commented 8 years ago
fixed in rev1431

Original comment by rob.bate...@gmail.com on 7 Jul 2009 at 12:23