Part: handle Part_SectionCut in WorkbenchManipulator
This commit is contained in:
@@ -596,7 +596,7 @@ void StdWorkbench::setupContextMenu(const char* recipient, MenuItem* item) const
|
||||
|
||||
|
||||
*item << "Std_ViewFitAll" << "Std_ViewFitSelection" << "Std_DrawStyle"
|
||||
<< StdViews << measure << "Std_SelectFilter" << "Separator"
|
||||
<< StdViews << measure << "Separator"
|
||||
<< "Std_ViewDockUndockFullscreen";
|
||||
|
||||
if (Gui::Selection().countObjectsOfType(App::DocumentObject::getClassTypeId()) > 0) {
|
||||
@@ -804,7 +804,7 @@ ToolBarItem* StdWorkbench::setupToolBars() const
|
||||
*view << "Std_ViewFitAll" << "Std_ViewFitSelection" << "Std_ViewIsometric"
|
||||
<< "Std_ViewFront"<< "Std_ViewTop" << "Std_ViewRight"
|
||||
<< "Std_ViewRear" << "Std_ViewBottom"<< "Std_ViewLeft"
|
||||
<< "Separator" << "Std_DrawStyle" << "Std_SelectFilter" << "Std_TreeViewActions"
|
||||
<< "Separator" << "Std_DrawStyle" << "Std_TreeViewActions"
|
||||
<< "Separator" << "Std_MeasureDistance";
|
||||
|
||||
// Structure
|
||||
@@ -829,7 +829,7 @@ ToolBarItem* StdWorkbench::setupCommandBars() const
|
||||
view->setCommand("Standard views");
|
||||
*view << "Std_ViewFitAll" << "Std_ViewFitSelection" << "Std_ViewIsometric" << "Separator"
|
||||
<< "Std_ViewFront" << "Std_ViewRight" << "Std_ViewTop" << "Separator"
|
||||
<< "Std_ViewRear" << "Std_ViewLeft" << "Std_ViewBottom" << "Std_SelectFilter";
|
||||
<< "Std_ViewRear" << "Std_ViewLeft" << "Std_ViewBottom";
|
||||
|
||||
// Special Ops
|
||||
auto macro = new ToolBarItem( root );
|
||||
|
||||
Reference in New Issue
Block a user