Fix for loading smooth meshes. (One small step for java compiler is a huge step for blender importer :D)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9701 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
Kae..pl 13 years ago
parent 39f265f50e
commit 9e60eda71a
  1. 2
      engine/src/blender/com/jme3/scene/plugins/blender/meshes/MeshBuilder.java

@ -168,7 +168,7 @@ import com.jme3.util.BufferUtils;
index[i] = vertexList.size() - 1; index[i] = vertexList.size() - 1;
} }
} else { } else {
index[i] = vertexList.indexOf(verticesAndNormals[index[i]]); index[i] = vertexList.indexOf(verticesAndNormals[index[i]][0]);
} }
indexList.add(index[i]); indexList.add(index[i]);
} }

Loading…
Cancel
Save