Skip to content

Commit

Permalink
updated for R25
Browse files Browse the repository at this point in the history
  • Loading branch information
vonPB committed Mar 30, 2022
1 parent 01d66a7 commit c48d9a9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
*.filters
*.xcodeproj
*.vcxproj
*.xdl64.manifest

generated/
4 changes: 2 additions & 2 deletions source/disable_materials.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Bool DisableMaterials::Execute(BaseDocument* doc, GeDialog* parentManager)
}
Bool DisableMaterials::register_class()
{
return RegisterCommandPlugin(ID, "Disable Materials"_s, 0, AutoBitmap("DisableMaterials.tif"_s), "Disable selected materials"_s, NewObjClear(DisableMaterials));
return RegisterCommandPlugin(ID, "Disable Materials"_s, 0, AutoBitmap("DisableMaterials.tif"_s), "Disable selected materials"_s, NewObj(DisableMaterials).GetPointer());
}

void DisableMaterials::disable(BaseTag* tag)
Expand Down Expand Up @@ -122,7 +122,7 @@ Bool EnableMaterials::Execute(BaseDocument* doc, GeDialog* parentManager)
}
Bool EnableMaterials::register_class()
{
return RegisterCommandPlugin(ID, "Enable Materials"_s, 0, AutoBitmap("EnableMaterials.tif"_s), "Enable selected materials"_s, NewObjClear(EnableMaterials));
return RegisterCommandPlugin(ID, "Enable Materials"_s, 0, AutoBitmap("EnableMaterials.tif"_s), "Enable selected materials"_s, NewObj(EnableMaterials).GetPointer());
}

void EnableMaterials::enable(BaseTag* tag)
Expand Down
2 changes: 1 addition & 1 deletion source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

const char* AUTHOR{ "Philipp Bokatius & Henrik S." };
const unsigned MAJOR_VER{ 1 };
const unsigned MINOR_VER{ 4 };
const unsigned MINOR_VER{ 5 };

::Bool PluginStart()
{
Expand Down

0 comments on commit c48d9a9

Please sign in to comment.