Merge pull request #7141 from Roy-043/Draft-make_hatch.py-should-return-the-object

Draft: make_hatch.py should return the object
This commit is contained in:
Yorik van Havre
2022-07-18 10:48:07 +02:00
committed by GitHub

View File

@@ -44,3 +44,4 @@ def make_hatch(baseobject, filename, pattern, scale, rotation):
obj.Rotation = rotation
if FreeCAD.GuiUp:
ViewProviderDraftHatch(obj.ViewObject)
return obj