- 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-9d2fd5bffc1fpull/1/head
parent
f77d0afa55
commit
071b786cd2
|
@ -184,6 +184,7 @@ DWORD WINAPI LoadThreadProc(LPVOID lpParameter)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef ASSIMP_BUILD_NO_EXPORT
|
||||||
// testweise wieder rausschreiben
|
// testweise wieder rausschreiben
|
||||||
const aiExportDataBlob* blob = aiExportSceneToBlob( g_pcAsset->pcScene, "collada");
|
const aiExportDataBlob* blob = aiExportSceneToBlob( g_pcAsset->pcScene, "collada");
|
||||||
if( blob )
|
if( blob )
|
||||||
|
@ -194,6 +195,7 @@ DWORD WINAPI LoadThreadProc(LPVOID lpParameter)
|
||||||
|
|
||||||
aiReleaseExportData( blob);
|
aiReleaseExportData( blob);
|
||||||
}
|
}
|
||||||
|
#endif // ASSIMP_BUILD_NO_EXPORT
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue