Arch: Minor bugfix
This commit is contained in:
@@ -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
Reference in New Issue
Block a user