From 3b8665fe9309740e37f53545bd83987cde7828a1 Mon Sep 17 00:00:00 2001 From: Ali-RS Date: Wed, 23 Oct 2019 13:43:56 +0330 Subject: [PATCH] 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. --- .../main/java/com/jme3/anim/tween/action/BlendableAction.java | 1 + 1 file changed, 1 insertion(+) diff --git a/jme3-core/src/main/java/com/jme3/anim/tween/action/BlendableAction.java b/jme3-core/src/main/java/com/jme3/anim/tween/action/BlendableAction.java index 4b3b6f966..4ebf3ede2 100644 --- a/jme3-core/src/main/java/com/jme3/anim/tween/action/BlendableAction.java +++ b/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) { this.transitionLength = transitionLength; + this.transition.setLength(transitionLength); } protected float getTransitionWeight() {