From 9f904ede3f7cba9a1f2cdeb5a45425bb023066d4 Mon Sep 17 00:00:00 2001 From: "Zheng, Lei" Date: Mon, 15 Jun 2020 16:46:11 +0800 Subject: [PATCH] assembly: improve backward compatibility --- freecad/asm3/assembly.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/freecad/asm3/assembly.py b/freecad/asm3/assembly.py index 4d4cf20..d7cda84 100644 --- a/freecad/asm3/assembly.py +++ b/freecad/asm3/assembly.py @@ -1185,7 +1185,8 @@ class ViewProviderAsmElement(ViewProviderAsmOnTop): if not vobj or hasProperty(vobj.Object,'Radius'): return if getattr(vobj,'ShowCS',False) or\ - gui.AsmCmdManager.ShowElementCS: + gui.AsmCmdManager.ShowElementCS or\ + not hasattr(vobj.Object,'Shape'): return True return utils.isInfinite(vobj.Object.Shape)