Remove PartDesign Datums commands from the UI.

This commit is contained in:
PaddleStroke
2024-10-18 11:42:00 +02:00
parent 4066100a79
commit 5d02008227

View File

@@ -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");