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:
@@ -44,3 +44,4 @@ def make_hatch(baseobject, filename, pattern, scale, rotation):
|
||||
obj.Rotation = rotation
|
||||
if FreeCAD.GuiUp:
|
||||
ViewProviderDraftHatch(obj.ViewObject)
|
||||
return obj
|
||||
|
||||
Reference in New Issue
Block a user