From c9ef6132a89fa00bb9123391be61e577baeb7691 Mon Sep 17 00:00:00 2001 From: Vitaly Ovchinnikov Date: Sun, 13 Dec 2015 23:10:31 +1300 Subject: [PATCH] a small fix --- code/ObjFileParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ObjFileParser.cpp b/code/ObjFileParser.cpp index 4d8b20c46..cc898f2a0 100644 --- a/code/ObjFileParser.cpp +++ b/code/ObjFileParser.cpp @@ -499,7 +499,7 @@ void ObjFileParser::getMaterialDesc() } if (needsNewMesh(strName)) - createMesh(); + createMesh(strName); m_pModel->m_pCurrentMesh->m_uiMaterialIndex = getMaterialIndex(strName); }