ywywdh / papervision3d

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

copyTransform destroys the source transform #132

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. do3d.yaw( 89 );
2. dummy.copyTransform( do3d );
3. trace( do3d.transform );

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

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

Please provide any additional information below.

copyTransform calls updateTransform without checking whether the transform
is dirty or not. 
see http://zozuar.nfshost.com/tmp/Bug.swf and
http://zozuar.nfshost.com/tmp/Bug.as

To fix either make _transformDirty public and check it from copyTransform,
or add a check to updateTransform(). I'd go with the second option, cause
there's really no point in updating a clean transform, and i think all
other calls to updateTransform have a check before them anyway.

Original issue reported on code.google.com by Yonatan....@gmail.com on 15 Nov 2008 at 1:33

GoogleCodeExporter commented 9 years ago

Original comment by r.hauw...@gmail.com on 17 Nov 2008 at 12:10

GoogleCodeExporter commented 9 years ago
Thank you for reporting. It is fixed.

Original comment by r.hauw...@gmail.com on 17 Nov 2008 at 1:58

GoogleCodeExporter commented 9 years ago

Original comment by r.hauw...@gmail.com on 17 Nov 2008 at 1:59