No point in having a RATSNEST_VIEW_ITEM in FP editor, viewer, etc.

This commit is contained in:
Jeff Young 2023-07-08 22:54:14 +01:00
parent 5bf257cdf6
commit 1d0a5ca34b
1 changed files with 5 additions and 2 deletions

View File

@ -279,8 +279,11 @@ void PCB_DRAW_PANEL_GAL::DisplayBoard( BOARD* aBoard, PROGRESS_REPORTER* aReport
m_view->Add( zone );
// Ratsnest
m_ratsnest = std::make_unique<RATSNEST_VIEW_ITEM>( aBoard->GetConnectivity() );
m_view->Add( m_ratsnest.get() );
if( !aBoard->IsFootprintHolder() )
{
m_ratsnest = std::make_unique<RATSNEST_VIEW_ITEM>( aBoard->GetConnectivity() );
m_view->Add( m_ratsnest.get() );
}
}