From 542559738d64cb876000c5f891ef2a7b5a5bed80 Mon Sep 17 00:00:00 2001 From: "Kae..pl" Date: Tue, 21 Jun 2011 18:57:27 +0000 Subject: [PATCH] Bugfix: constructor with 'scales' argument did not store it. git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7683 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/core/com/jme3/animation/BoneTrack.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/src/core/com/jme3/animation/BoneTrack.java b/engine/src/core/com/jme3/animation/BoneTrack.java index 070693de4..da3e18fd2 100644 --- a/engine/src/core/com/jme3/animation/BoneTrack.java +++ b/engine/src/core/com/jme3/animation/BoneTrack.java @@ -93,8 +93,8 @@ public final class BoneTrack implements Savable { * @param scales the scale of the bone for each frame */ public BoneTrack(int targetBoneIndex, float[] times, Vector3f[] translations, Quaternion[] rotations, Vector3f[] scales) { - this(targetBoneIndex, times, translations, rotations); - this.setKeyframes(times, translations, rotations); + this.targetBoneIndex = targetBoneIndex; + this.setKeyframes(times, translations, rotations, scales); } /**