Defenses in depth for ratsnest drawing.
(cherry picked from commit e60837ec95
)
This commit is contained in:
parent
94057886a3
commit
10a27156c2
|
@ -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 ) )
|
||||
|
|
Loading…
Reference in New Issue