fix SEGV in pcb_generator_meanders

This commit is contained in:
Thomas Pointhuber 2023-10-12 21:47:34 +02:00
parent 79a45c4803
commit 7cb198e021
1 changed files with 4 additions and 1 deletions

View File

@ -563,7 +563,10 @@ public:
if( baselineValid() )
{
removeToBaseline( router, layer, *m_baseLine );
removeToBaseline( router, layer, *m_baseLineCoupled );
if( m_tuningMode == DIFF_PAIR )
{
removeToBaseline( router, layer, *m_baseLineCoupled );
}
}
std::set<BOARD_ITEM*> clearRouterRemovedItems = aTool->GetRouterCommitRemovedItems();