diff --git a/src/Mod/Part/Gui/Workbench.cpp b/src/Mod/Part/Gui/Workbench.cpp index dac53a9625..98e935a22a 100644 --- a/src/Mod/Part/Gui/Workbench.cpp +++ b/src/Mod/Part/Gui/Workbench.cpp @@ -137,7 +137,6 @@ Gui::MenuItem* Workbench::setupMenuBar() const << "Part_Loft" << "Part_Sweep" << "Part_Section" - << "Part_SectionCut" << "Part_CrossSections" << "Part_Offset" << "Part_Offset2D" @@ -165,6 +164,11 @@ Gui::MenuItem* Workbench::setupMenuBar() const Gui::MenuItem* face = new Gui::MenuItem(); face->setCommand("Part_ColorPerFace"); view->insertItem(appr, face); + appr = view->findItem("Std_ToggleClipPlane"); + appr = view->afterItem(appr); + Gui::MenuItem* cut = new Gui::MenuItem(); + cut->setCommand("Part_SectionCut"); + view->insertItem(appr, cut); } return root; diff --git a/src/Mod/PartDesign/Gui/Workbench.cpp b/src/Mod/PartDesign/Gui/Workbench.cpp index 04927fbc6b..38baed78b5 100644 --- a/src/Mod/PartDesign/Gui/Workbench.cpp +++ b/src/Mod/PartDesign/Gui/Workbench.cpp @@ -588,6 +588,11 @@ Gui::MenuItem* Workbench::setupMenuBar() const Gui::MenuItem* face = new Gui::MenuItem(); face->setCommand("Part_ColorPerFace"); view->insertItem(appr, face); + appr = view->findItem("Std_ToggleClipPlane"); + appr = view->afterItem(appr); + Gui::MenuItem* cut = new Gui::MenuItem(); + cut->setCommand("Part_SectionCut"); + view->insertItem(appr, cut); } // For 0.13 a couple of python packages like numpy, matplotlib and others