From 21c845a64ce9bb715692d30124ed351e4b9cfd47 Mon Sep 17 00:00:00 2001 From: sliptonic Date: Tue, 23 Jan 2018 15:30:41 -0600 Subject: [PATCH] Path: remove redundant Path_Shape command fixes #3276 --- src/Mod/Path/InitGui.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/Mod/Path/InitGui.py b/src/Mod/Path/InitGui.py index 4265d5ccc3..96a43b6234 100644 --- a/src/Mod/Path/InitGui.py +++ b/src/Mod/Path/InitGui.py @@ -113,7 +113,7 @@ class PathWorkbench (Workbench): if PathPreferences.experimentalFeaturesEnabled(): projcmdlist.append("Path_Sanity") threedopcmdlist.append("Path_Surface") - extracmdlist.extend(["Path_Shape", "Path_Area", "Path_Area_Workplane"]) + extracmdlist.extend(["Path_Area", "Path_Area_Workplane"]) FreeCADGui.addCommand('Path_3dTools', ThreeDCommandGroup()) threedcmdgroup = ['Path_3dTools'] else: @@ -121,27 +121,18 @@ class PathWorkbench (Workbench): self.appendToolbar(QT_TRANSLATE_NOOP("Path", "Project Setup"), projcmdlist) self.appendToolbar(QT_TRANSLATE_NOOP("Path", "Tool Commands"), toolcmdlist) - #self.appendToolbar(QT_TRANSLATE_NOOP("Path", "Partial Commands"), prepcmdlist) self.appendToolbar(QT_TRANSLATE_NOOP("Path", "New Operations"), twodopcmdlist+threedcmdgroup) self.appendToolbar(QT_TRANSLATE_NOOP("Path", "Path Modification"), modcmdlist) if extracmdlist: self.appendToolbar(QT_TRANSLATE_NOOP("Path", "Helpful Tools"), extracmdlist) self.appendMenu([QT_TRANSLATE_NOOP("Path", "&Path")], projcmdlist +["Path_ExportTemplate", "Separator"] + toolcmdlist +["Separator"] +twodopcmdlist +["Separator"] +threedopcmdlist +["Separator"]) - #self.appendMenu([QT_TRANSLATE_NOOP("Path", "Path"), QT_TRANSLATE_NOOP( - # "Path", "Tools")], toolcmdlist) self.appendMenu([QT_TRANSLATE_NOOP("Path", "&Path"), QT_TRANSLATE_NOOP( "Path", "Path Dressup")], dressupcmdlist) self.appendMenu([QT_TRANSLATE_NOOP("Path", "&Path"), QT_TRANSLATE_NOOP( "Path", "Partial Commands")], prepcmdlist) - #self.appendMenu([QT_TRANSLATE_NOOP("Path", "Path"), QT_TRANSLATE_NOOP( - # "Path", "New Operations")], opcmdlist) self.appendMenu([QT_TRANSLATE_NOOP("Path", "&Path"), QT_TRANSLATE_NOOP( "Path", "Path Modification")], modcmdlist) - #self.appendMenu([QT_TRANSLATE_NOOP("Path", "Path"), QT_TRANSLATE_NOOP( - # "Path", "Path Modification")], modcmdmore) - # self.appendMenu([QT_TRANSLATE_NOOP("Path", "Path"), QT_TRANSLATE_NOOP( - # "Path", "Remote Operations")], remotecmdlist) if extracmdlist: self.appendMenu([QT_TRANSLATE_NOOP("Path", "&Path")], extracmdlist)