away3d/away3d-core-fp11 — pull request #456 by calvinwylie (2012-12-19 21:51:45+00:00)
Title: Mesh clone method documentation incorrect

The documentation of the clone method for Mesh states "Properties that are cloned or created anew for the copy include ... , animation and animationState ...", but the IAnimator of the Mesh is ignored.

If this is expected behaviour, and the user must manually create a new IAnimator for a clone, then the documentation should be corrected.

Otherwise, I have implemented a simple shallow clone method for IAnimators, that Mesh.clone() will call. This was useful for me as I am in a situation where I do not easily have access to the animationSet when I clone meshes.