Draft: Fixed SelectPlane command not working when an object is selected

This commit is contained in:
Yorik van Havre
2019-06-29 19:48:41 -03:00
parent d19470a971
commit 44b9929d8c

View File

@@ -334,6 +334,8 @@ class SelectPlane(DraftTool):
self.offset = 0
if not self.doc:
return
if self.handle():
return
self.ui.selectPlaneUi()
FreeCAD.Console.PrintMessage(translate("draft", "Pick a face to define the drawing plane")+"\n")
if plane.alignToSelection(self.offset):