No point in having a RATSNEST_VIEW_ITEM in FP editor, viewer, etc.
This commit is contained in:
parent
5bf257cdf6
commit
1d0a5ca34b
|
@ -279,8 +279,11 @@ void PCB_DRAW_PANEL_GAL::DisplayBoard( BOARD* aBoard, PROGRESS_REPORTER* aReport
|
||||||
m_view->Add( zone );
|
m_view->Add( zone );
|
||||||
|
|
||||||
// Ratsnest
|
// Ratsnest
|
||||||
|
if( !aBoard->IsFootprintHolder() )
|
||||||
|
{
|
||||||
m_ratsnest = std::make_unique<RATSNEST_VIEW_ITEM>( aBoard->GetConnectivity() );
|
m_ratsnest = std::make_unique<RATSNEST_VIEW_ITEM>( aBoard->GetConnectivity() );
|
||||||
m_view->Add( m_ratsnest.get() );
|
m_view->Add( m_ratsnest.get() );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue