Fixed wrong colors in the wavefront exporter.

This commit is contained in:
leo 2015-01-14 16:41:32 +00:00
parent 77683ccfa8
commit 7a49635ea8

View file

@ -1647,7 +1647,7 @@ void Project::ExportWavefront()
if (Mesh)
{
Mesh->ExportWavefrontIndices(OBJFile, lcGetColorCode(ModelParts[PartIdx].ColorIndex), vert);
Mesh->ExportWavefrontIndices(OBJFile, ModelParts[PartIdx].ColorIndex, vert);
vert += Mesh->mNumVertices;
}
}