mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-09 08:38:43 +08:00
Merge branch '4.0' of https://github.com/esotericsoftware/spine-runtimes into 4.0
This commit is contained in:
commit
05b44befcb
@ -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`.
|
||||
|
||||
@ -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();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user