Fixed an issue with BlendableAction.setTransitionLength()... (#1205)

...which was not setting new length to transition tween and causing the new length to have no effect.
fix-openal-soft-deadlink
Ali-RS 5 years ago committed by GitHub
parent 5c75af1d38
commit 3b8665fe93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      jme3-core/src/main/java/com/jme3/anim/tween/action/BlendableAction.java

@ -74,6 +74,7 @@ public abstract class BlendableAction extends Action {
public void setTransitionLength(double transitionLength) { public void setTransitionLength(double transitionLength) {
this.transitionLength = transitionLength; this.transitionLength = transitionLength;
this.transition.setLength(transitionLength);
} }
protected float getTransitionWeight() { protected float getTransitionWeight() {

Loading…
Cancel
Save