mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-20 18:11:42 +00:00
router: prevent assertion fail in MULTI_DRAGGER
Fixes https://gitlab.com/kicad/code/kicad/issues/20075
This commit is contained in:
parent
29a4ec0fde
commit
9e4947ed36
@ -635,6 +635,8 @@ bool MULTI_DRAGGER::multidragShove( std::vector<MDRAG_LINE>& aCompletedLines )
|
||||
l.draggedLine = m_shove->GetModifiedHead( i );
|
||||
|
||||
// this should not be linked (assert in rt-test)
|
||||
l.draggedLine.ClearLinks();
|
||||
|
||||
m_lastNode->Add( l.draggedLine );
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user