mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-11 01:40:00 +00:00
Crashfix Physique export
This commit is contained in:
parent
a3b0f16823
commit
00881eed6c
1 changed files with 29 additions and 26 deletions
|
@ -961,6 +961,8 @@ INode* CExportNel::getSkeletonRootBone (INode& node)
|
||||||
// Get a vertex interface
|
// Get a vertex interface
|
||||||
IPhyVertexExport *vertexInterface=localData->GetVertexInterface (vtx);
|
IPhyVertexExport *vertexInterface=localData->GetVertexInterface (vtx);
|
||||||
|
|
||||||
|
if (vertexInterface)
|
||||||
|
{
|
||||||
// Check if it is a rigid vertex or a blended vertex
|
// Check if it is a rigid vertex or a blended vertex
|
||||||
int type=vertexInterface->GetVertexType ();
|
int type=vertexInterface->GetVertexType ();
|
||||||
if (type==RIGID_TYPE)
|
if (type==RIGID_TYPE)
|
||||||
|
@ -996,6 +998,7 @@ INode* CExportNel::getSkeletonRootBone (INode& node)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Release vertex interfaces
|
// Release vertex interfaces
|
||||||
localData->ReleaseVertexInterface (vertexInterface);
|
localData->ReleaseVertexInterface (vertexInterface);
|
||||||
|
|
Loading…
Reference in a new issue