From 41cde2126005fa088305a366b820551d89f234d6 Mon Sep 17 00:00:00 2001 From: "Kae..pl" Date: Thu, 23 Jun 2011 17:16:18 +0000 Subject: [PATCH] Fix to applying Y-up axis to rotated objects. git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7704 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../jme3/scene/plugins/blender/helpers/v249/ObjectHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/blender/com/jme3/scene/plugins/blender/helpers/v249/ObjectHelper.java b/engine/src/blender/com/jme3/scene/plugins/blender/helpers/v249/ObjectHelper.java index 676de65e7..7bf123b04 100644 --- a/engine/src/blender/com/jme3/scene/plugins/blender/helpers/v249/ObjectHelper.java +++ b/engine/src/blender/com/jme3/scene/plugins/blender/helpers/v249/ObjectHelper.java @@ -312,7 +312,7 @@ public class ObjectHelper extends AbstractBlenderHelper { float y = translation.y; translation.y = translation.z; translation.z = -y; - rotation.multLocal(this.upAxisRotationQuaternion); + rotation = this.upAxisRotationQuaternion.mult(rotation); } //create the result