Vitaly Ovchinnikov %!s(int64=10) %!d(string=hai) anos
pai
achega
c9ef6132a8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      code/ObjFileParser.cpp

+ 1 - 1
code/ObjFileParser.cpp

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