Bugfix: fixed a bug in loading vertex colors for non-smooth meshes.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10892 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
a01e9ab41c
commit
fd28efd64c
@ -143,7 +143,7 @@ import com.jme3.util.BufferUtils;
|
||||
globalVertexReferenceMap.put(materialNumber, vertexReferenceMap);
|
||||
}
|
||||
|
||||
faceIndex *= 4;
|
||||
faceIndex *= 3;
|
||||
if (quad) {
|
||||
vertexColorIndex[1] = 2;
|
||||
vertexColorIndex[2] = 3;
|
||||
|
Loading…
x
Reference in New Issue
Block a user