- BUGFIX : Make usage of export API in assimp viewer optional.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@918 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
pull/1/head
kimmi 2011-03-15 20:27:18 +00:00
parent f77d0afa55
commit 071b786cd2
1 changed files with 2 additions and 0 deletions

View File

@ -184,6 +184,7 @@ DWORD WINAPI LoadThreadProc(LPVOID lpParameter)
return 1;
}
#ifdef ASSIMP_BUILD_NO_EXPORT
// testweise wieder rausschreiben
const aiExportDataBlob* blob = aiExportSceneToBlob( g_pcAsset->pcScene, "collada");
if( blob )
@ -194,6 +195,7 @@ DWORD WINAPI LoadThreadProc(LPVOID lpParameter)
aiReleaseExportData( blob);
}
#endif // ASSIMP_BUILD_NO_EXPORT
return 0;
}