|
I’m still using the 2010 SDK, and haven’t updated yet, and I’ve just noticed that FillTakeNameArray()
re-arranges my animations. Is there something I can do about this (for 2010 SDK), so the original
order is kept? I’ve tested this case with the 2011 SDK, and everything is listed correctly.
// Get the list of all the takes.
gScene->FillTakeNameArray(gTakeNameArray);
// Original listing
INT count1 = gImporter->GetTakeCount();
printf("count1: %d\n", count1 );
for(INT i=0; i < count1; i++) {
KFbxTakeInfo* lTakeInfo = gImporter->GetTakeInfo(i);
printf("Take: %d, name: \"%s\"\n", i, lTakeInfo->mName.Buffer() );
}
// Different listing!
INT count2 = gTakeNameArray.GetCount();
printf(_T("count2: %d\n"), count2 );
for(INT i=0; i < count2; i++) {
printf("Take: %d, name: \"%s\"\n", i, gTakeNameArray.GetAt(i)->Buffer() );
}
|
|
|