From 3f557dd48d3bc7935d6d6471a97dd157c1051fb6 Mon Sep 17 00:00:00 2001 From: sliptonic Date: Fri, 18 Feb 2022 10:18:10 -0600 Subject: [PATCH] fix ordering of edges in loop generation --- src/Mod/Path/PathCommands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mod/Path/PathCommands.py b/src/Mod/Path/PathCommands.py index 726166ae78..725f27bf27 100644 --- a/src/Mod/Path/PathCommands.py +++ b/src/Mod/Path/PathCommands.py @@ -108,8 +108,8 @@ class _CommandSelectLoop: if loopwire: FreeCADGui.Selection.clearSelection() elist = obj.Shape.Edges - for e in elist: - for i in loopwire.Edges: + for i in loopwire.Edges: + for e in elist: if e.hashCode() == i.hashCode(): FreeCADGui.Selection.addSelection( obj, "Edge" + str(elist.index(e) + 1)