mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 23:34:53 +08:00
[c] Initialize timeline local var for additive blending case. Closes #1688.
This commit is contained in:
parent
05d8b248b0
commit
ebd0bea6ed
@ -385,6 +385,7 @@ int spAnimationState_apply (spAnimationState* self, spSkeleton* skeleton) {
|
||||
timelines = current->animation->timelines;
|
||||
if ((i == 0 && mix == 1) || blend == SP_MIX_BLEND_ADD) {
|
||||
for (ii = 0; ii < timelineCount; ii++) {
|
||||
timeline = timelines[ii];
|
||||
if (timeline->type == SP_TIMELINE_ATTACHMENT) {
|
||||
_spAnimationState_applyAttachmentTimeline(self, timeline, skeleton, animationTime, blend, -1);
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user