Skip to content

Commit 3b8665f

Browse files
authored
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.
1 parent 5c75af1 commit 3b8665f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

jme3-core/src/main/java/com/jme3/anim/tween/action/BlendableAction.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ public double getTransitionLength() {
7474

7575
public void setTransitionLength(double transitionLength) {
7676
this.transitionLength = transitionLength;
77+
this.transition.setLength(transitionLength);
7778
}
7879

7980
protected float getTransitionWeight() {

0 commit comments

Comments
 (0)