From 109c6b4ef79edb9a9376376113c2c1363f7c2cfc Mon Sep 17 00:00:00 2001 From: "rem..om" Date: Sat, 2 Apr 2011 22:58:13 +0000 Subject: [PATCH] Unreverted back change http://code.google.com/p/jmonkeyengine/source/detail?r=7142 because change is so fun :D, and it's more logical...i guess git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7164 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/core/com/jme3/animation/Bone.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/src/core/com/jme3/animation/Bone.java b/engine/src/core/com/jme3/animation/Bone.java index c0c69320b..3c61805a8 100644 --- a/engine/src/core/com/jme3/animation/Bone.java +++ b/engine/src/core/com/jme3/animation/Bone.java @@ -347,7 +347,7 @@ public final class Bone implements Savable { /** * Set user transform. - * The transforms are used as increments to current translations + * Combine the given transforms to bone's current transforms * @see setUserControl */ public void setUserTransforms(Vector3f translation, Quaternion rotation, Vector3f scale) { @@ -361,7 +361,7 @@ public final class Bone implements Savable { localPos.addLocal(translation); localRot = localRot.mult(rotation); - localScale.addLocal(scale); + localScale.multLocal(scale); } /**