From 5da0bd5554c2249392f72022f015bc4c2816917d Mon Sep 17 00:00:00 2001 From: "Zheng, Lei" Date: Tue, 28 Jul 2020 13:32:42 +0800 Subject: [PATCH] assembly: improve AsmElement fix element --- freecad/asm3/assembly.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/freecad/asm3/assembly.py b/freecad/asm3/assembly.py index 308138c..b1df3c8 100644 --- a/freecad/asm3/assembly.py +++ b/freecad/asm3/assembly.py @@ -622,10 +622,6 @@ class AsmElement(AsmBase): if not obj: return False # broken beyond fix - subs = Part.splitSubname(subname) - if not subs[1]: - return False # no mapped element name - if not utils.getElement(linked, subname): return True