mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 17:26:01 +08:00
Fixed additive track mixing when alpha!=1.
This commit is contained in:
parent
646e6aec56
commit
6514c41d17
@ -217,7 +217,7 @@ public class AnimationState {
|
||||
float animationLast = current.animationLast, animationTime = current.getAnimationTime();
|
||||
int timelineCount = current.animation.timelines.size;
|
||||
Object[] timelines = current.animation.timelines.items;
|
||||
if (i == 0 && (mix == 1 || blend == MixBlend.add)) {
|
||||
if ((i == 0 && mix == 1) || blend == MixBlend.add) {
|
||||
for (int ii = 0; ii < timelineCount; ii++)
|
||||
((Timeline)timelines[ii]).apply(skeleton, animationLast, animationTime, events, mix, blend, MixDirection.in);
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user