File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed
Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -128,13 +128,6 @@ HotMod::HotMod()
128128 pblock2 = NULL ;
129129 tmControl = NULL ;
130130 hotDesc.MakeAutoParamBlocks (this );
131-
132- #if MAXVERSION > 2021
133- // JW added: without this, newly created modifier would just be named "Object" in Max2022+
134- SetName ( hotDesc.ClassName () );
135- // SetName( hotDesc.NonLocalizedClassName() );
136- #endif
137-
138131}
139132
140133HotMod::~HotMod ()
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ class HotMod : public IHoudiniOcean
118118
119119#if MAXVERSION > 2021
120120 // JW added: 2022+ adds localized flag
121- void GetClassName (TSTR& s, bool localized)
121+ void GetClassName (TSTR& s, bool localized) const
122122 {
123123 UNUSED_PARAM (localized);
124124 s = GetString (IDS_RB_HOT_OSM_CLASS);
@@ -135,7 +135,7 @@ class HotMod : public IHoudiniOcean
135135
136136#if MAXVERSION > 2021
137137 // JW added: 2022+ adds localized flag
138- const TCHAR *GetObjectName ( bool localized )
138+ const TCHAR *GetObjectName ( bool localized ) const
139139 {
140140 UNUSED_PARAM (localized);
141141 return GetString (IDS_RB_HOT);
You can’t perform that action at this time.
0 commit comments