assembly: flatten parts for exporting
This commit is contained in:
parent
61c9d33f03
commit
e1dbbf771f
|
@ -285,6 +285,13 @@ class AsmPartGroup(AsmGroup):
|
||||||
self.derivedParts = None
|
self.derivedParts = None
|
||||||
super(AsmPartGroup,self).__init__()
|
super(AsmPartGroup,self).__init__()
|
||||||
|
|
||||||
|
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) ]
|
||||||
|
except Exception:
|
||||||
|
pass
|
||||||
|
|
||||||
def linkSetup(self,obj):
|
def linkSetup(self,obj):
|
||||||
super(AsmPartGroup,self).linkSetup(obj)
|
super(AsmPartGroup,self).linkSetup(obj)
|
||||||
if not hasattr(obj,'DerivedFrom'):
|
if not hasattr(obj,'DerivedFrom'):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user