Merge pull request #13778 from yorikvanhavre/draft-hide-templine

Draft: Do not show temporary line object in tree
This commit is contained in:
Roy-043
2024-05-02 22:28:11 +02:00
committed by GitHub

View File

@@ -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"))