Fixed MD5 loader with animated parameter to false
Former-commit-id: f8d80e0f3f70f92be2898c29f00dd4abcaeb18a1
This commit is contained in:
parent
18d3b67364
commit
8c37c92c16
|
|
@ -308,6 +308,7 @@ bool NzMD5MeshParser::Parse(NzMesh* mesh)
|
|||
return false;
|
||||
}
|
||||
|
||||
mesh->SetMaterialCount(m_meshes.size());
|
||||
for (unsigned int i = 0; i < m_meshes.size(); ++i)
|
||||
{
|
||||
const Mesh& md5Mesh = m_meshes[i];
|
||||
|
|
@ -355,7 +356,6 @@ bool NzMD5MeshParser::Parse(NzMesh* mesh)
|
|||
*index++ = triangle.z;
|
||||
*index++ = triangle.y;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
if (!indexBuffer->Unmap())
|
||||
|
|
|
|||
Loading…
Reference in New Issue