mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-13 10:38:46 +08:00
Merge branch '4.1' into 4.2-beta
This commit is contained in:
commit
ad45a04353
@ -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