mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-11 17:48:45 +08:00
Always use timelinesLast when not multipleMixing.
http://esotericsoftware.com/forum/Blend-Weirdness-in-Unity-3-5-7263?p=38334#p38334
This commit is contained in:
parent
1e93019b82
commit
6ceb623e54
@ -218,7 +218,7 @@ public class AnimationState {
|
||||
for (int i = 0; i < timelineCount; i++) {
|
||||
Timeline timeline = (Timeline)timelines[i];
|
||||
boolean setupPose = timelinesFirst[i];
|
||||
float alpha = timelinesLast != null && setupPose && !timelinesLast[i] ? alphaBase : alphaMix;
|
||||
float alpha = timelinesLast != null && !timelinesLast[i] ? alphaBase : alphaMix;
|
||||
if (timeline instanceof RotateTimeline)
|
||||
applyRotateTimeline(timeline, skeleton, animationTime, alpha, setupPose, timelinesRotation, i << 1, firstFrame);
|
||||
else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user