Selaa lähdekoodia

bugfix : fix unresolved symbols if 3DS-import is configured not to be oart of the lib.

Signed-off-by: Kim <Kulling>
Kim 12 vuotta sitten
vanhempi
commit
bd05acf872
1 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  1. 4 0
      code/3DSLoader.h

+ 4 - 0
code/3DSLoader.h

@@ -48,6 +48,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #include "BaseImporter.h"
 #include "BaseImporter.h"
 #include "../include/assimp/types.h"
 #include "../include/assimp/types.h"
 
 
+#ifndef ASSIMP_BUILD_NO_3DS_IMPORTER
+
 struct aiNode;
 struct aiNode;
 #include "3DSHelper.h"
 #include "3DSHelper.h"
 
 
@@ -271,6 +273,8 @@ protected:
 	bool bIsPrj;
 	bool bIsPrj;
 };
 };
 
 
+#endif // !! ASSIMP_BUILD_NO_3DS_IMPORTER
+
 } // end of namespace Assimp
 } // end of namespace Assimp
 
 
 #endif // AI_3DSIMPORTER_H_INC
 #endif // AI_3DSIMPORTER_H_INC