Arch: Fixed bug introduced by 5e08669
This commit is contained in:
@@ -77,7 +77,6 @@ def addToComponent(compobject,addobject,mod=None):
|
||||
l.append(addobject)
|
||||
setattr(compobject,mod,l)
|
||||
if mod != "Objects":
|
||||
ArchCommands.setAsSubcomponent(addobject)
|
||||
addobject.ViewObject.hide()
|
||||
else:
|
||||
for a in attribs[:3]:
|
||||
@@ -118,7 +117,6 @@ def removeFromComponent(compobject,subobject):
|
||||
compobject.Subtractions = l
|
||||
if (Draft.getType(subobject) != "Window") and (not Draft.isClone(subobject,"Window",True)):
|
||||
ArchCommands.setAsSubcomponent(subobject)
|
||||
subobject.ViewObject.hide()
|
||||
|
||||
|
||||
class SelectionTaskPanel:
|
||||
|
||||
Reference in New Issue
Block a user