Hi all,
I'm using something like this to import fbx files:
KFbxImporter* lImporter = KFbxImporter::Create(pSdkManager,"");
...
lStatus = lImporter->Import(pScene);
So far so good! If we're loading large FBX files, I would like to give the user the oppotunity to cancel the loading process. I could image to use FBX SDK async loading function to do it like this:
lImporter->Import(pScene, true);
while( lImporter->IsImporting(lStatus) )
{
Sleep(x);
if( abort_was_clicked )
{
lImporter->CALL_CANCEL_FUNCTION();
}
}
The problem is, as far as I can see, there is nothing like a CALL_CANCEL_FUNCTION() to cancel the asynchronous loading inside the importer. Do I miss something? Ideas?
Thanks & Best regards,
Mika