Arch: small bugfix in Add tool

This commit is contained in:
Yorik van Havre 2014-04-14 11:58:33 -03:00
parent d13946da11
commit 0a51595fe2

View File

@ -105,8 +105,7 @@ def addComponents(objectsList,host):
a = host.Objects
for o in objectsList:
if not o in a:
if hasattr(o,"Shape"):
a.append(o)
a.append(o)
host.Objects = a
elif host.isDerivedFrom("App::DocumentObjectGroup"):
c = host.Group