a small fix

This commit is contained in:
Vitaly Ovchinnikov
2015-12-13 23:10:31 +13:00
parent 6214fbfbbe
commit c9ef6132a8

View File

@@ -499,7 +499,7 @@ void ObjFileParser::getMaterialDesc()
}
if (needsNewMesh(strName))
createMesh();
createMesh(strName);
m_pModel->m_pCurrentMesh->m_uiMaterialIndex = getMaterialIndex(strName);
}