mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-09 16:48:43 +08:00
Final touches of C++ runtime, done.
This commit is contained in:
parent
ae58c8232f
commit
32f326de0f
@ -978,7 +978,7 @@ void AnimationState::animationsChanged() {
|
||||
|
||||
for (int i = 0, n = static_cast<int>(_tracks.size()); i < n; ++i) {
|
||||
TrackEntry *entry = _tracks[i];
|
||||
if (entry != NULL && entry->_mixBlend != MixBlend_Add) {
|
||||
if (entry != NULL && (i == 0 ||entry->_mixBlend != MixBlend_Add)) {
|
||||
entry->setTimelineData(NULL, _mixingTo, _propertyIDs);
|
||||
}
|
||||
}
|
||||
|
||||
@ -68,7 +68,7 @@ void DrawOrderTimeline::apply(Skeleton &skeleton, float lastTime, float time, Ve
|
||||
}
|
||||
|
||||
if (time < _frames[0]) {
|
||||
if (blend == MixBlend_Setup) {
|
||||
if (blend == MixBlend_Setup || blend == MixBlend_First) {
|
||||
drawOrder.clear();
|
||||
drawOrder.ensureCapacity(slots.size());
|
||||
for (int i = 0, n = static_cast<int>(slots.size()); i < n; ++i) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user