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
This commit is contained in:
parent
39f265f50e
commit
9e60eda71a
@ -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…
x
Reference in New Issue
Block a user