From 95acbd682e69089c96ba22cd6ff9b69ed4835851 Mon Sep 17 00:00:00 2001 From: Roy-043 Date: Thu, 13 Jun 2024 18:43:49 +0200 Subject: [PATCH] Draft: revert #14206 to fix WP alignment #14206 was an intermediate solution. Now that `Part.getShape` can handle the new `SubElementNames` it needs to be removed as it breaks the handling of subelements in links. --- src/Mod/Draft/WorkingPlane.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Draft/WorkingPlane.py b/src/Mod/Draft/WorkingPlane.py index 2dadfe40d9..34d6480a6d 100644 --- a/src/Mod/Draft/WorkingPlane.py +++ b/src/Mod/Draft/WorkingPlane.py @@ -1246,7 +1246,7 @@ class PlaneGui(PlaneBase): if not FreeCAD.GuiUp: return False - sels = FreeCADGui.Selection.getSelectionEx("", 1) + sels = FreeCADGui.Selection.getSelectionEx("", 0) if not sels: return False