From 5d020082275c2923ba24be75d50387bb0833fd02 Mon Sep 17 00:00:00 2001 From: PaddleStroke Date: Fri, 18 Oct 2024 11:42:00 +0200 Subject: [PATCH] Remove PartDesign Datums commands from the UI. --- src/Mod/PartDesign/Gui/Workbench.cpp | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/Mod/PartDesign/Gui/Workbench.cpp b/src/Mod/PartDesign/Gui/Workbench.cpp index 5f49add309..bfacf1758d 100644 --- a/src/Mod/PartDesign/Gui/Workbench.cpp +++ b/src/Mod/PartDesign/Gui/Workbench.cpp @@ -380,14 +380,6 @@ Gui::MenuItem* Workbench::setupMenuBar() const root->insertItem(item, part); part->setCommand("&Part Design"); - // datums - Gui::MenuItem* datums = new Gui::MenuItem; - datums->setCommand("Create a datum"); - - *datums << "PartDesign_Point" - << "PartDesign_Line" - << "PartDesign_Plane"; - // additives Gui::MenuItem* additives = new Gui::MenuItem; additives->setCommand("Create an additive feature"); @@ -429,8 +421,6 @@ Gui::MenuItem* Workbench::setupMenuBar() const *part << "PartDesign_Body" << "Separator" - << datums - << "PartDesign_CoordinateSystem" << "PartDesign_ShapeBinder" << "PartDesign_SubShapeBinder" << "PartDesign_Clone" @@ -490,8 +480,7 @@ Gui::ToolBarItem* Workbench::setupToolBars() const << "Sketcher_ValidateSketch" << "Part_CheckGeometry" << "PartDesign_SubShapeBinder" - << "PartDesign_Clone" - << "PartDesign_CompDatums"; + << "PartDesign_Clone"; part = new Gui::ToolBarItem(root); part->setCommand("Part Design Modeling");