assembly: fixed AsmPartGroup.getSubObjects() when partial loaded
This commit is contained in:
parent
91c34b2fcb
commit
72f64e9ed5
|
@ -309,7 +309,9 @@ class AsmPartGroup(AsmGroup):
|
|||
def getSubObjects(self,obj,_reason):
|
||||
# Deletion order problem may cause exception here. Just silence it
|
||||
try:
|
||||
return [ '{}.'.format(o.Name) for o in flattenGroup(obj) ]
|
||||
if not getattr(obj.Document,'Partial',False) \
|
||||
or not self.getAssembly().Object.Freeze:
|
||||
return [ '{}.'.format(o.Name) for o in flattenGroup(obj) ]
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user