away3d / away3d-core-fp10

Away3D engine for Flash Player 10
http://www.away3d.com
33 stars 11 forks source link

Animator cloning will not copy frames/length #13

Open RobAndersson opened 12 years ago

RobAndersson commented 12 years ago

When cloning an animation it will have length 0, because the clone method won't copy the number of frames in the animation.

A simple "anim._totalFrames = _totalFrames;" in the clone() function would do it, unless I'm missing something. It seems very obvious, so I'm wondering if this is by design?