Fix to applying Y-up axis to rotated objects.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7704 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
Kae..pl 14 years ago
parent c67ab5bb8d
commit 41cde21260
  1. 2
      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

Loading…
Cancel
Save