Crashfix Physique export

This commit is contained in:
kaetemi 2014-07-29 15:23:06 +02:00
parent b74a24a312
commit 1c1d7a2e4a

View file

@ -961,6 +961,8 @@ INode* CExportNel::getSkeletonRootBone (INode& node)
// Get a vertex interface
IPhyVertexExport *vertexInterface=localData->GetVertexInterface (vtx);
if (vertexInterface)
{
// Check if it is a rigid vertex or a blended vertex
int type=vertexInterface->GetVertexType ();
if (type==RIGID_TYPE)
@ -996,6 +998,7 @@ INode* CExportNel::getSkeletonRootBone (INode& node)
break;
}
}
}
// Release vertex interfaces
localData->ReleaseVertexInterface (vertexInterface);