From e60837ec95783aae48151235ed224d08112b044a Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Mon, 13 Mar 2023 18:29:14 +0000 Subject: [PATCH] Defenses in depth for ratsnest drawing. --- pcbnew/ratsnest/ratsnest_view_item.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/ratsnest/ratsnest_view_item.cpp b/pcbnew/ratsnest/ratsnest_view_item.cpp index b3db037d18..ee4f5e7238 100644 --- a/pcbnew/ratsnest/ratsnest_view_item.cpp +++ b/pcbnew/ratsnest/ratsnest_view_item.cpp @@ -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 ) )