a small fix

pull/709/head
Vitaly Ovchinnikov 2015-12-13 23:10:31 +13:00
parent 6214fbfbbe
commit c9ef6132a8
1 changed files with 1 additions and 1 deletions

View File

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