Defenses in depth for ratsnest drawing.

This commit is contained in:
Jeff Young 2023-03-13 18:29:14 +00:00
parent c266913ec7
commit e60837ec95
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ void RATSNEST_VIEW_ITEM::ViewDraw( int aLayer, KIGFX::VIEW* aView ) const
RN_NET* net = m_data->GetRatsnestForNet( i );
if( !net )
if( !net || m_data->GetConnectivityAlgo()->IsNetDirty( i ) )
continue;
if( colorByNet && netColors.count( i ) )