assembly: fix ViewProviderAsmElementLink bounding box calculation
This commit is contained in:
parent
652ea7af6c
commit
14dffc7b28
|
@ -1661,6 +1661,11 @@ class AsmElementLink(AsmBase):
|
||||||
|
|
||||||
self.version = AsmVersion()
|
self.version = AsmVersion()
|
||||||
|
|
||||||
|
# Suppress link array (when ShowElement=True) getSubObjects, so that view
|
||||||
|
# provider getBoundingBox can work.
|
||||||
|
def getSubObjects(self, _obj, _reason):
|
||||||
|
return
|
||||||
|
|
||||||
def migrate(self,obj):
|
def migrate(self,obj):
|
||||||
link = obj.LinkedObject
|
link = obj.LinkedObject
|
||||||
if not isinstance(link,tuple):
|
if not isinstance(link,tuple):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user