From 7a49635ea8cc14e653fd3bc47abe4384f64b6b76 Mon Sep 17 00:00:00 2001 From: leo Date: Wed, 14 Jan 2015 16:41:32 +0000 Subject: [PATCH] Fixed wrong colors in the wavefront exporter. --- common/project.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/project.cpp b/common/project.cpp index a7ef49bc..7dcf14a5 100644 --- a/common/project.cpp +++ b/common/project.cpp @@ -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; } }