|
|
@ -401,7 +401,7 @@ public final class AnimChannel { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
animation.setTime(time, blendAmount, control, this, vars); |
|
|
|
animation.setTime(time, blendAmount, control, this, vars); |
|
|
|
|
|
|
|
time += tpf * speed; |
|
|
|
if (animation.getLength() > 0){ |
|
|
|
if (animation.getLength() > 0){ |
|
|
|
if (!notified && (time >= animation.getLength() || time < 0)) { |
|
|
|
if (!notified && (time >= animation.getLength() || time < 0)) { |
|
|
|
if (loopMode == LoopMode.DontLoop) { |
|
|
|
if (loopMode == LoopMode.DontLoop) { |
|
|
@ -413,7 +413,6 @@ public final class AnimChannel { |
|
|
|
control.notifyAnimCycleDone(this, animation.getName()); |
|
|
|
control.notifyAnimCycleDone(this, animation.getName()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
time += tpf * speed; |
|
|
|
|
|
|
|
time = clampWrapTime(time, animation.getLength(), loopMode); |
|
|
|
time = clampWrapTime(time, animation.getLength(), loopMode); |
|
|
|
if (time < 0){ |
|
|
|
if (time < 0){ |
|
|
|
// Negative time indicates that speed should be inverted
|
|
|
|
// Negative time indicates that speed should be inverted
|
|
|
|