github.com/assimp/assimp/issues/730: use correct define check
parent
59c856fcf3
commit
9af4747fa8
|
@ -42,12 +42,15 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
namespace Assimp {
|
||||
namespace OpenGEX {
|
||||
|
||||
#ifndef ASSIMP_BUILD_NO_OPENGEX_EXPORTER
|
||||
|
||||
OpenGEXExporter::OpenGEXExporter() {
|
||||
}
|
||||
|
||||
OpenGEXExporter::~OpenGEXExporter() {
|
||||
}
|
||||
|
||||
#endif // ASSIMP_BUILD_NO_OPENGEX_EXPORTER
|
||||
|
||||
} // Namespace openGEX
|
||||
} // Namespace OpenGEX
|
||||
} // Namespace Assimp
|
||||
|
|
|
@ -42,7 +42,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
|
||||
#include "../include/assimp/types.h"
|
||||
|
||||
#ifndef ASSIMP_BUILD_NO_OPENGEX_IMPORTER
|
||||
#ifndef ASSIMP_BUILD_NO_OPENGEX_EXPORTER
|
||||
|
||||
namespace Assimp {
|
||||
|
||||
|
@ -50,16 +50,17 @@ struct aiScene;
|
|||
|
||||
namespace OpenGEX {
|
||||
|
||||
class OpenGEXExporter {
|
||||
public:
|
||||
OpenGEXExporter();
|
||||
~OpenGEXExporter();
|
||||
bool exportScene( const char *filename, const aiScene* pScene );
|
||||
};
|
||||
} // Namespace openGEX
|
||||
class OpenGEXExporter {
|
||||
public:
|
||||
OpenGEXExporter();
|
||||
~OpenGEXExporter();
|
||||
bool exportScene( const char *filename, const aiScene* pScene );
|
||||
};
|
||||
|
||||
} // Namespace OpenGEX
|
||||
} // Namespace Assimp
|
||||
|
||||
#endif // ASSIMP_BUILD_NO_OPENGEX_IMPORTER
|
||||
#endif // ASSIMP_BUILD_NO_OPENGEX_EXPORTER
|
||||
|
||||
#endif // AI_OPENGEX_EXPORTER_H
|
||||
|
||||
|
|
Loading…
Reference in New Issue