Defenses in depth for ratsnest drawing.

(cherry picked from commit e60837ec95)
This commit is contained in:
Jeff Young 2023-03-13 18:29:14 +00:00
parent 94057886a3
commit 10a27156c2
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 ) )