MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / shutdownModule

Method shutdownModule

plugins/dm.editing/plugin.cpp:87–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85 }
86
87 void shutdownModule() override
88 {
89 GlobalUserInterface().unregisterControl(ui::AIEditingControl::Name);
90
91 // Remove associated property keys
92 GlobalEntityInspector().unregisterPropertyEditor(ui::DEF_VOCAL_SET_KEY);
93 GlobalEntityInspector().unregisterPropertyEditor(ui::DEF_HEAD_KEY);
94
95 GlobalEntityInspector().unregisterPropertyEditorDialog(ui::DEF_HEAD_KEY);
96 GlobalEntityInspector().unregisterPropertyEditorDialog(ui::DEF_VOCAL_SET_KEY);
97 }
98};
99
100extern "C" void DARKRADIANT_DLLEXPORT RegisterModule(IModuleRegistry& registry)

Callers

nothing calls this directly

Calls 3

unregisterControlMethod · 0.80

Tested by

no test coverage detected