Skip to content

Commit 852cb7d

Browse files
committed
Fix 3ds max API version detection
1 parent 24b0333 commit 852cb7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ifcmax/IfcMax.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ int IFCImp::DoImport(const TCHAR *name, ImpInterface *impitfc, Interface *itfc,
127127

128128
const IfcGeomObjects::IfcGeomObject* o = IfcGeomObjects::Get();
129129

130-
#if MAX_RELEASE > MAX_RELEASE_R14
130+
#if MAX_RELEASE > 14000
131131
TSTR o_type = TSTR::FromCStr(o->type.c_str());
132132
TSTR o_guid = TSTR::FromCStr(o->guid.c_str());
133133
#elif defined(_UNICODE)

0 commit comments

Comments
 (0)