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,7 +105,6 @@ def addComponents(objectsList,host):
a = host.Objects a = host.Objects
for o in objectsList: for o in objectsList:
if not o in a: if not o in a:
if hasattr(o,"Shape"):
a.append(o) a.append(o)
host.Objects = a host.Objects = a
elif host.isDerivedFrom("App::DocumentObjectGroup"): elif host.isDerivedFrom("App::DocumentObjectGroup"):