mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 22:34:53 +08:00
Merge branch '3.6-beta' of https://github.com/esotericsoftware/spine-runtimes into 3.6-beta
This commit is contained in:
commit
308261fceb
@ -248,7 +248,7 @@ public class AnimationState {
|
||||
first = true;
|
||||
alpha = alphaDip;
|
||||
TrackEntry dipMix = (TrackEntry)timelineDipMix[i];
|
||||
if (dipMix != null && dipMix.mixDuration > 0) alpha *= Math.max(0, 1 - dipMix.mixTime / dipMix.mixDuration);
|
||||
if (dipMix != null) alpha *= Math.max(0, 1 - dipMix.mixTime / dipMix.mixDuration);
|
||||
break;
|
||||
}
|
||||
if (timeline instanceof RotateTimeline)
|
||||
@ -730,7 +730,7 @@ public class AnimationState {
|
||||
for (int ii = mixingToLast; ii >= 0; ii--) {
|
||||
TrackEntry entry = (TrackEntry)mixingTo[ii];
|
||||
if (!entry.hasTimeline(id)) {
|
||||
timelineDipMix[i] = entry;
|
||||
if (entry.mixDuration > 0) timelineDipMix[i] = entry;
|
||||
continue outer;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user