Mesh.clone

Software: Away3D 4.x

cervantez, Newbie
Posted: 29 August 2012 01:03 PM   Total Posts: 6

Just noticed that Mesh.clone doesn´t clone .extra and .mouseEnabled ... don´t know if this is intentional.

   

Richard Olsson, Administrator
Posted: 30 August 2012 09:20 AM   Total Posts: 1192   [ # 1 ]

That’s not intentional. Please file a bug (or a pull request, if you can change it yourself) on GitHub. If you create a pull request, make sure to make it to the “dev” branch.

Issue tracker is here: http://github.com/away3d/away3d-core-fp11/issues

Thanks!

   

Richard Olsson, Administrator
Posted: 09 October 2012 11:11 AM   Total Posts: 1192   [ # 2 ]

Sounds like the transform is updated but not the simpler component properties. Again, please file a bug where we can track it.

   

bradbury, Newbie
Posted: 09 October 2012 11:12 AM   Total Posts: 4   [ # 3 ]

Another crucial problem in clone(): try mesh.scaleX=2; then clone the mesh. The clone stays double the size but clone.scaleX gets resetted to 1. Clone() seems VERY broken!

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X