Part: move CmdSelectFilter and friends from core to Part module

This commit is contained in:
wmayer
2023-10-03 18:46:08 +02:00
committed by wwmayer
parent 3c8f245e67
commit c4f355ad8d
4 changed files with 276 additions and 228 deletions

View File

@@ -84,6 +84,7 @@
void CreatePartCommands();
void CreateSimplePartCommands();
void CreateParamPartCommands();
void CreatePartSelectCommands();
void loadPartResource()
{
@@ -222,6 +223,7 @@ PyMOD_INIT_FUNC(PartGui)
CreatePartCommands();
CreateSimplePartCommands();
CreateParamPartCommands();
CreatePartSelectCommands();
try{
Py::Object ae = Base::Interpreter().runStringObject("__import__('AttachmentEditor.Commands').Commands");
Py::Module(partGuiModule).setAttr(std::string("AttachmentEditor"),ae);