This commit is contained in:
Mario Zechner 2021-09-20 21:16:57 +02:00
commit 05b44befcb
2 changed files with 6 additions and 1 deletions

View File

@ -74,6 +74,7 @@
* Added proportional spacing mode support for path constraints.
* Added support for uniform scaling for two bone IK.
* Fixed applying a constraint reverting changes from other constraints.
* **Breaking change:** Removed `SkeletonData` and `Skeleton` methods: `FindBoneIndex`, `FindSlotIndex`. Bones and slots have an `Index` field that should be used instead. Be sure to check for e.g. `bone == null` accordingly before accessing `bone.Index`.
### Unity
@ -180,6 +181,7 @@
* Added proportional spacing mode support for path constraints.
* Added support for uniform scaling for two bone IK.
* Fixed applying a constraint reverting changes from other constraints.
* **Breaking change:** Removed `SkeletonData` and `Skeleton` methods: `findBoneIndex`, `findSlotIndex`. Bones and slots have an `index` field that should be used instead.
### libGDX
* Exposed colors in `SkeletonRendererDebug`.

View File

@ -168,7 +168,10 @@ public class PathConstraintData extends ConstraintData {
* <p>
* See <a href="http://esotericsoftware.com/spine-path-constraints#Rotate-mode">Rotate mode</a> in the Spine User Guide. */
static public enum RotateMode {
tangent, chain, chainScale;
tangent, chain,
/** When chain scale, constrained bones should all have the same parent. That way when the path constraint scales a bone, it
* doesn't affect other constrained bones. */
chainScale;
static public final RotateMode[] values = RotateMode.values();
}