Arch: Minor bugfix
This commit is contained in:
parent
5bb46b732d
commit
35cc5ef56f
|
@ -99,6 +99,12 @@ def addComponents(objectsList,host):
|
|||
if hasattr(o,"Shape"):
|
||||
a.append(o)
|
||||
host.Objects = a
|
||||
elif host.isDerivedFrom("App::DocumentObjectGroup"):
|
||||
c = host.Group
|
||||
for o in objectsList:
|
||||
if not o in c:
|
||||
c.append(o)
|
||||
host.Group = c
|
||||
|
||||
def removeComponents(objectsList,host=None):
|
||||
'''removeComponents(objectsList,[hostObject]): removes the given component or
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user