From ea5a11b44efbaa5e65398168d97ef571eba4e07c Mon Sep 17 00:00:00 2001 From: PaddleStroke Date: Mon, 29 Jan 2024 21:02:55 +0100 Subject: [PATCH] Assembly: fix vertex preselection JCS bug --- src/Mod/Assembly/JointObject.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Mod/Assembly/JointObject.py b/src/Mod/Assembly/JointObject.py index ab1b0e963c..407222af86 100644 --- a/src/Mod/Assembly/JointObject.py +++ b/src/Mod/Assembly/JointObject.py @@ -1351,7 +1351,9 @@ class TaskAssemblyCreateJoint(QtCore.QObject): if ( not cursor_info or not self.preselection_dict - or cursor_info["SubName"] != self.preselection_dict["sub_name"] + # or cursor_info["SubName"] != self.preselection_dict["sub_name"] + # Removed because they are not equal when hovering a line endpoints. + # But we don't actually need to test because if there's no preselection then not cursor is None ): self.joint.ViewObject.Proxy.showPreviewJCS(False) return