Draft: Do not show temporary line object in tree - fixes #13700
This commit is contained in:
@@ -77,6 +77,7 @@ class Line(gui_base_original.Creator):
|
||||
|
||||
self.obj = self.doc.addObject("Part::Feature", self.featureName)
|
||||
gui_utils.format_object(self.obj)
|
||||
self.obj.ViewObject.ShowInTree = False
|
||||
|
||||
self.call = self.view.addEventCallback("SoEvent", self.action)
|
||||
_toolmsg(translate("draft", "Pick first point"))
|
||||
|
||||
Reference in New Issue
Block a user