Enable dressup menus also on top of other dressups.

This commit is contained in:
Markus Lampert
2017-07-26 12:51:46 -07:00
committed by wmayer
parent 53a717b369
commit 700a5c1faf

View File

@@ -143,7 +143,7 @@ class PathWorkbench (Workbench):
selectedName = FreeCADGui.Selection.getSelection()[0].Name
if "Job" in selectedName:
self.appendContextMenu("", ["Path_ExportTemplate"])
if "Profile" in selectedName or "Contour" in selectedName:
if "Profile" in selectedName or "Contour" in selectedName or "Dressup" in selectedName:
#self.appendContextMenu("", ["Set_StartPoint"])
#self.appendContextMenu("", ["Set_EndPoint"])
for cmd in self.dressupcmds: