From 071b786cd2c57e10ad800cd13bfa4ae12014a915 Mon Sep 17 00:00:00 2001 From: kimmi Date: Tue, 15 Mar 2011 20:27:18 +0000 Subject: [PATCH] - 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 --- tools/assimp_view/assimp_view.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/assimp_view/assimp_view.cpp b/tools/assimp_view/assimp_view.cpp index 6d50f8818..708931c00 100644 --- a/tools/assimp_view/assimp_view.cpp +++ b/tools/assimp_view/assimp_view.cpp @@ -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; }