Re-work of 5514396c for v9

All links are processed in the same order

Fixes https://gitlab.com/kicad/code/kicad/-/issues/21913
This commit is contained in:
Seth Hillbrand
2025-10-10 17:11:16 -07:00
parent 32781c3992
commit 46312674c6
+2 -2
View File
@@ -293,8 +293,8 @@ ITEM_SET TOPOLOGY::followTrivialPath( LINE* aLine2, const JOINT** aTerminalJoint
if( aTerminalJointB )
*aTerminalJointB = right.m_end;
for( int i = left.m_items.Size() - 1; i >= 0; i-- )
path.Prepend( left.m_items[i] );
for( ITEM* item : left.m_items )
path.Prepend( item );
for( ITEM* item : right.m_items )
path.Add( item );