From b2e8219caa793edadc5b798de625fa4fec49991e Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Sun, 13 Jan 2013 12:01:20 +0000 Subject: [PATCH] Fix 3ds max API version detection --- src/ifcmax/IfcMax.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcmax/IfcMax.cpp b/src/ifcmax/IfcMax.cpp index d4d8f1fd9f..d251a10928 100644 --- a/src/ifcmax/IfcMax.cpp +++ b/src/ifcmax/IfcMax.cpp @@ -127,7 +127,7 @@ int IFCImp::DoImport(const TCHAR *name, ImpInterface *impitfc, Interface *itfc, const IfcGeomObjects::IfcGeomObject* o = IfcGeomObjects::Get(); -#if MAX_RELEASE > MAX_RELEASE_R14 +#if MAX_RELEASE > 14000 TSTR o_type = TSTR::FromCStr(o->type.c_str()); TSTR o_guid = TSTR::FromCStr(o->guid.c_str()); #elif defined(_UNICODE)