mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-22 10:16:01 +08:00
[cpp] Rset mixBlend, see #1903
This commit is contained in:
parent
950760903b
commit
6a01b42dba
@ -974,6 +974,7 @@ TrackEntry *AnimationState::newTrackEntry(size_t trackIndex, Animation *animatio
|
|||||||
entry._interruptAlpha = 1;
|
entry._interruptAlpha = 1;
|
||||||
entry._mixTime = 0;
|
entry._mixTime = 0;
|
||||||
entry._mixDuration = (last == NULL) ? 0 : _data->getMix(last->_animation, animation);
|
entry._mixDuration = (last == NULL) ? 0 : _data->getMix(last->_animation, animation);
|
||||||
|
entry._mixBlend = MixBlend_Replace;
|
||||||
|
|
||||||
return entryP;
|
return entryP;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user