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:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user