mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 17:56:04 +08:00
Removed bad fix for #1024
This commit is contained in:
parent
93d34666b0
commit
1514b4acbb
@ -281,18 +281,12 @@ public class AnimationState {
|
||||
break;
|
||||
case DIP:
|
||||
pose = MixPose.setup;
|
||||
alpha = mix == 1 ? 0 : alphaDip;
|
||||
alpha = alphaDip;
|
||||
break;
|
||||
default:
|
||||
pose = MixPose.setup;
|
||||
if (mix == 1)
|
||||
alpha = 0;
|
||||
else {
|
||||
alpha = alphaDip;
|
||||
TrackEntry dipMix = (TrackEntry)timelineDipMix[i];
|
||||
alpha *= Math.max(0, 1 - dipMix.mixTime / dipMix.mixDuration);
|
||||
}
|
||||
break;
|
||||
alpha = alphaDip * Math.max(0, 1 - dipMix.mixTime / dipMix.mixDuration);
|
||||
}
|
||||
from.totalAlpha += alpha;
|
||||
if (timeline instanceof RotateTimeline)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user