* Fix WMO Loader after recent changes

This commit is contained in:
Shlainn 2011-11-25 10:01:39 +01:00
parent 1207e77f87
commit af476c9595

View File

@ -274,7 +274,7 @@ for(u32 i=0;i<submeshes.size();i++)//The mesh has to be split into submeshes bec
{
if(WMOMTexData[lastindex].textureID!=255)
{
scene::SSkinMeshBuffer *MeshBuffer = Mesh->createBuffer();
scene::SSkinMeshBuffer *MeshBuffer = Mesh->createBuffer(0);
//Put the Indices and Vertices of the Submesh into a mesh buffer
for(u32 j=lastindex;j<submeshes[i];j++)