Fix off-by-one in AssembleTuningPath
This commit is contained in:
parent
3c59e452d6
commit
252bf76452
|
@ -381,7 +381,7 @@ const ITEM_SET TOPOLOGY::AssembleTuningPath( ITEM* aStart, SOLID** aStartPad, SO
|
|||
aLine.Remove( start, clip - 1 );
|
||||
|
||||
// Now connect the dots
|
||||
aLine.Insert( aForward ? 0 : aLine.PointCount(), aPad->GetPosition() );
|
||||
aLine.Insert( aForward ? 0 : aLine.PointCount() - 1, aPad->GetPosition() );
|
||||
};
|
||||
|
||||
auto processPad =
|
||||
|
|
Loading…
Reference in New Issue