assembly: improve backward compatibility
This commit is contained in:
parent
72f64e9ed5
commit
9f904ede3f
|
@ -1185,7 +1185,8 @@ class ViewProviderAsmElement(ViewProviderAsmOnTop):
|
||||||
if not vobj or hasProperty(vobj.Object,'Radius'):
|
if not vobj or hasProperty(vobj.Object,'Radius'):
|
||||||
return
|
return
|
||||||
if getattr(vobj,'ShowCS',False) or\
|
if getattr(vobj,'ShowCS',False) or\
|
||||||
gui.AsmCmdManager.ShowElementCS:
|
gui.AsmCmdManager.ShowElementCS or\
|
||||||
|
not hasattr(vobj.Object,'Shape'):
|
||||||
return True
|
return True
|
||||||
return utils.isInfinite(vobj.Object.Shape)
|
return utils.isInfinite(vobj.Object.Shape)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user