diff --git a/engine/src/blender/com/jme3/scene/plugins/blender/modifiers/ArmatureModifier.java b/engine/src/blender/com/jme3/scene/plugins/blender/modifiers/ArmatureModifier.java index 5324971e4..30944ed9c 100644 --- a/engine/src/blender/com/jme3/scene/plugins/blender/modifiers/ArmatureModifier.java +++ b/engine/src/blender/com/jme3/scene/plugins/blender/modifiers/ArmatureModifier.java @@ -186,6 +186,7 @@ import com.jme3.util.BufferUtils; } // applying animations + AnimControl control = new AnimControl(animData.skeleton); ArrayList animList = animData.anims; if (animList != null && animList.size() > 0) { HashMap anims = new HashMap(animList.size()); @@ -193,11 +194,9 @@ import com.jme3.util.BufferUtils; Animation animation = animList.get(i); anims.put(animation.getName(), animation); } - - AnimControl control = new AnimControl(animData.skeleton); control.setAnimations(anims); - node.addControl(control); } + node.addControl(control); node.addControl(new SkeletonControl(animData.skeleton)); return node;