Arch: small bugfix in Add tool
This commit is contained in:
parent
d13946da11
commit
0a51595fe2
|
@ -105,8 +105,7 @@ 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"):
|
||||||
c = host.Group
|
c = host.Group
|
||||||
|
|
Loading…
Reference in New Issue
Block a user