From 984bab2ae94c3eb85c7a0e3d47021e5524b08ab7 Mon Sep 17 00:00:00 2001 From: "Kae..pl" Date: Wed, 5 Oct 2011 05:56:51 +0000 Subject: [PATCH] Removing fix up axis checking for mesh vertices. git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8361 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../com/jme3/scene/plugins/blender/meshes/MeshHelper.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/engine/src/blender/com/jme3/scene/plugins/blender/meshes/MeshHelper.java b/engine/src/blender/com/jme3/scene/plugins/blender/meshes/MeshHelper.java index 9950b4bbd..c484b4b4a 100644 --- a/engine/src/blender/com/jme3/scene/plugins/blender/meshes/MeshHelper.java +++ b/engine/src/blender/com/jme3/scene/plugins/blender/meshes/MeshHelper.java @@ -498,11 +498,7 @@ public class MeshHelper extends AbstractBlenderHelper { List mVerts = pMVert.fetchData(blenderContext.getInputStream()); for (int i = 0; i < verticesAmount; ++i) { DynamicArray coordinates = (DynamicArray) mVerts.get(i).getFieldValue("co"); - if (blenderContext.getBlenderKey().isFixUpAxis()) { - vertices[i] = new Vector3f(coordinates.get(0).floatValue(), coordinates.get(2).floatValue(), -coordinates.get(1).floatValue()); - } else { - vertices[i] = new Vector3f(coordinates.get(0).floatValue(), coordinates.get(1).floatValue(), coordinates.get(2).floatValue()); - } + vertices[i] = new Vector3f(coordinates.get(0).floatValue(), coordinates.get(1).floatValue(), coordinates.get(2).floatValue()); } return vertices; }