Draft: Allow Clones to clone a group

This commit is contained in:
Yorik van Havre 2015-09-02 20:07:17 -03:00
parent 26b424e776
commit 60e63e12d6

View File

@ -5046,7 +5046,8 @@ class _Clone(_DraftObject):
if not o.isDerivedFrom("Part::Part2DObject"):
FreeCAD.Console.PrintWarning("Warning 2D Clone "+obj.Name+" contains 3D geometry")
return
for o in obj.Objects:
objs = getGroupContents(obj.Objects)
for o in objs:
if o.isDerivedFrom("Part::Feature"):
if o.Shape.isNull():
return