Remove PartDesign Datums commands from the UI.
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user