a small fix
parent
6214fbfbbe
commit
c9ef6132a8
|
@ -499,7 +499,7 @@ void ObjFileParser::getMaterialDesc()
|
||||||
}
|
}
|
||||||
|
|
||||||
if (needsNewMesh(strName))
|
if (needsNewMesh(strName))
|
||||||
createMesh();
|
createMesh(strName);
|
||||||
|
|
||||||
m_pModel->m_pCurrentMesh->m_uiMaterialIndex = getMaterialIndex(strName);
|
m_pModel->m_pCurrentMesh->m_uiMaterialIndex = getMaterialIndex(strName);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue