From 2b050b2af3b486961ffa45b7416242aa49e38e05 Mon Sep 17 00:00:00 2001 From: Roy-043 <70520633+Roy-043@users.noreply.github.com> Date: Sun, 16 Jun 2024 16:53:02 +0200 Subject: [PATCH] Draft: revert #14206 to fix WP alignment (#14665) #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