mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
[c][cpp][flutter][ios] Port of 64ed135e4939d9672f1ab48bdcec645ee50c37ef
This commit is contained in:
parent
28f93e993a
commit
335308a7ef
@ -117,7 +117,8 @@ void Slider::sort(Skeleton &skeleton) {
|
|||||||
skeleton.constrained((Posed &) *constraints[timeline->getConstraintIndex()]);
|
skeleton.constrained((Posed &) *constraints[timeline->getConstraintIndex()]);
|
||||||
} else if (t->getRTTI().instanceOf(ConstraintTimeline::rtti)) {
|
} else if (t->getRTTI().instanceOf(ConstraintTimeline::rtti)) {
|
||||||
ConstraintTimeline *timeline = (ConstraintTimeline *) t;
|
ConstraintTimeline *timeline = (ConstraintTimeline *) t;
|
||||||
skeleton.constrained((Posed &) *constraints[timeline->getConstraintIndex()]);
|
int index = timeline->getConstraintIndex();
|
||||||
|
if (index != -1) skeleton.constrained((Posed &) *constraints[timeline->getConstraintIndex()]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user