Arch: Small fixes around Arch and Draft
This commit is contained in:
@@ -2901,6 +2901,7 @@ class Trimex(Modifier):
|
||||
else:
|
||||
self.obj.Shape = newshape
|
||||
self.doc.commitTransaction()
|
||||
self.doc.recompute()
|
||||
for g in self.ghost: g.off()
|
||||
|
||||
def finish(self,closed=False):
|
||||
|
||||
@@ -158,7 +158,7 @@ class DraftWorkbench (Workbench):
|
||||
if (FreeCAD.activeDraftCommand == None):
|
||||
if (FreeCADGui.Selection.getSelection()):
|
||||
self.appendContextMenu("Draft",self.cmdList+self.modList)
|
||||
self.appendContextMenu("Draft context tools",self.treecmdList)
|
||||
self.appendContextMenu("Utilities",self.treecmdList)
|
||||
else:
|
||||
self.appendContextMenu("Draft",self.cmdList)
|
||||
else:
|
||||
@@ -166,7 +166,7 @@ class DraftWorkbench (Workbench):
|
||||
self.appendContextMenu("",self.lineList)
|
||||
else:
|
||||
if (FreeCADGui.Selection.getSelection()):
|
||||
self.appendContextMenu("Draft context tools",self.treecmdList)
|
||||
self.appendContextMenu("Utilities",self.treecmdList)
|
||||
|
||||
def GetClassName(self):
|
||||
return "Gui::PythonWorkbench"
|
||||
|
||||
Reference in New Issue
Block a user