Due the changes in #1259, the cloning behavior was broken.
This pull requests fixes the following:
Any subskel'ed SkeletonInstance globally modified bones, as they where flagged as "cloned" but wheren't.
SkeletonInstance.clone() caused a sub-skel lose its boneMap, so it contained all bones again.
Renamed full_clone into just clone to make it more familiar with what it does. A Skeleton.subskel(clone=True) does now return a standalone clone of the skeleton which can be modified.
Deprecated Skeleton.subSkel() (camel-case) now accepts old fullClone-parameter again to stay backward compatible.
Due the changes in #1259, the cloning behavior was broken.
This pull requests fixes the following:
SkeletonInstance.clone()
caused a sub-skel lose its boneMap, so it contained all bones again.full_clone
into justclone
to make it more familiar with what it does. ASkeleton.subskel(clone=True)
does now return a standalone clone of the skeleton which can be modified.Skeleton.subSkel()
(camel-case) now accepts oldfullClone
-parameter again to stay backward compatible.