mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-10 00:58:43 +08:00
Merge branch '4.2-beta' of https://github.com/esotericsoftware/spine-runtimes into 4.2-beta
This commit is contained in:
commit
b504d638ce
@ -443,7 +443,7 @@ namespace Spine.Unity {
|
||||
int GetConstraintLastPosIndex (int constraintIndex) {
|
||||
var constraints = skeletonComponent.Skeleton.TransformConstraints;
|
||||
TransformConstraint targetConstraint = constraints.Items[constraintIndex];
|
||||
return constraints.FindIndex(constraint => constraint == targetConstraint);
|
||||
return transformConstraintIndices.FindIndex(addedIndex => addedIndex == constraintIndex);
|
||||
}
|
||||
|
||||
void FindTransformConstraintsAffectingBone () {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user