Draft: small fix to clone object

This commit is contained in:
Yorik van Havre
2014-03-03 12:18:54 -03:00
parent 88c05dcbac
commit 06a327a195

View File

@@ -4528,8 +4528,9 @@ class _Clone(_DraftObject):
if shapes:
if len(shapes) == 1:
obj.Shape = shapes[0]
obj.Placement = shapes[0].Placement
else:
obj.Shape = Part.makeCompound(shapes)
obj.Shape = Part.makeCompound(shapes)
if not DraftGeomUtils.isNull(pl):
obj.Placement = pl