Fixed MD5 loader with animated parameter to false

Former-commit-id: f8d80e0f3f70f92be2898c29f00dd4abcaeb18a1
This commit is contained in:
Lynix 2012-12-09 18:37:57 +01:00
parent 18d3b67364
commit 8c37c92c16
1 changed files with 1 additions and 1 deletions

View File

@ -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())