Exit fix loop in cleanup tracks
Fixes https://gitlab.com/kicad/code/kicad/issues/5968
This commit is contained in:
parent
91db6a770c
commit
8fcb6c6f05
|
@ -404,10 +404,11 @@ void TRACKS_CLEANER::cleanupSegments()
|
||||||
if( !m_dryRun )
|
if( !m_dryRun )
|
||||||
removeItems( toRemove );
|
removeItems( toRemove );
|
||||||
|
|
||||||
bool merged = false;
|
bool merged;
|
||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
|
merged = false;
|
||||||
m_brd->BuildConnectivity();
|
m_brd->BuildConnectivity();
|
||||||
|
|
||||||
// Keep a duplicate deque to all deleting in the primary
|
// Keep a duplicate deque to all deleting in the primary
|
||||||
|
|
Loading…
Reference in New Issue