diff --git a/code/AssetLib/M3D/M3DExporter.h b/code/AssetLib/M3D/M3DExporter.h index 95313baa2..1247114bb 100644 --- a/code/AssetLib/M3D/M3DExporter.h +++ b/code/AssetLib/M3D/M3DExporter.h @@ -46,10 +46,10 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #ifndef AI_M3DEXPORTER_H_INC #define AI_M3DEXPORTER_H_INC +#ifndef ASSIMP_BUILD_NO_M3D_IMPORTER #ifndef ASSIMP_BUILD_NO_M3D_EXPORTER #include -//#include #include // StreamWriterLE #include // DeadlyExportError @@ -60,8 +60,7 @@ struct aiNode; struct aiMaterial; struct aiFace; -namespace Assimp -{ +namespace Assimp { class IOSystem; class IOStream; class ExportProperties; @@ -71,8 +70,7 @@ namespace Assimp // --------------------------------------------------------------------- /** Helper class to export a given scene to an M3D file. */ // --------------------------------------------------------------------- - class M3DExporter - { + class M3DExporter { public: /// Constructor for a specific scene to export M3DExporter(const aiScene* pScene, const ExportProperties* pProperties); @@ -89,6 +87,7 @@ namespace Assimp }; } +#endif // #ifndef ASSIMP_BUILD_NO_M3D_IMPORTER #endif // ASSIMP_BUILD_NO_M3D_EXPORTER #endif // AI_M3DEXPORTER_H_INC