magicstone
02-01-2008 14:12:00
I find a LEXIExporter bug that is export my model animation error! I modifed this function to fixed the bug but i not know it has other problem.
CMeshArray* CIntermediateBuilder::BuildMeshArray(unsigned int iNodeID, const char* pszTypeName, TimeValue iTime)
{
INode* pNode = GetNodeFromID(iNodeID);
if(!pNode) return NULL;
CMeshArray* pRtnArray = NULL;
//
ObjectState os = pNode->EvalWorldState(iTime, TRUE);
Object* pObj = os.obj;
if(!pObj) return NULL;
// 使用下é
CMeshArray* CIntermediateBuilder::BuildMeshArray(unsigned int iNodeID, const char* pszTypeName, TimeValue iTime)
{
INode* pNode = GetNodeFromID(iNodeID);
if(!pNode) return NULL;
CMeshArray* pRtnArray = NULL;
//
ObjectState os = pNode->EvalWorldState(iTime, TRUE);
Object* pObj = os.obj;
if(!pObj) return NULL;
// 使用下é