Draft: fix array issue with Draft_Point and Part_Vertex
This commit is contained in:
@@ -187,8 +187,9 @@ class DraftLink(DraftObject):
|
||||
"from '{}'\n".format(obj.Label, obj.Base.Label))
|
||||
raise RuntimeError(_err_msg)
|
||||
else:
|
||||
shape = shape.copy()
|
||||
shape.Placement = App.Placement()
|
||||
# Resetting the Placement of the copied shape does not work for
|
||||
# Part_Vertex and Draft_Point objects, we need to transform:
|
||||
shape = shape.transformGeometry(shape.Placement.Matrix.inverse())
|
||||
base = []
|
||||
for i, pla in enumerate(pls):
|
||||
vis = getattr(obj, 'VisibilityList', [])
|
||||
|
||||
Reference in New Issue
Block a user