Skip to content

Commit

Permalink
Fix compatiblity for 3ds Max 2022+ SDKs
Browse files Browse the repository at this point in the history
  • Loading branch information
FrogsInSpace committed Dec 22, 2021
1 parent b8d36a6 commit ffbb4d7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/ifcmax/IfcMax.cpp
Expand Up @@ -46,6 +46,11 @@ static class IFCImpClassDesc :public ClassDesc {
void * Create(BOOL /*loading = FALSE*/) { return new IFCImp; }
// TODO Delete() function?
const TCHAR * ClassName() { return _T("IFCImp"); }

#if MAX_VERSION_MAJOR >= 24
const TCHAR * NonLocalizedClassName() { return ClassName(); }
#endif

SClass_ID SuperClassID() { return SCENE_IMPORT_CLASS_ID; }
Class_ID ClassID() { return Class_ID(0x3f230dbf, 0x5b3015c2); }
const TCHAR* Category() { return _T("Chrutilities"); }
Expand Down

0 comments on commit ffbb4d7

Please sign in to comment.