From 5096deeb3b38684c5b1b0d28c4abd6fc7f0afa14 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Mon, 10 Aug 2020 12:09:32 -0700 Subject: [PATCH] pcbnew: Handle module ratsnest Ensure we display the module ratsnest appropriately --- pcbnew/connectivity/connectivity_data.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/pcbnew/connectivity/connectivity_data.cpp b/pcbnew/connectivity/connectivity_data.cpp index 3348de0ade..f71d9a1fa9 100644 --- a/pcbnew/connectivity/connectivity_data.cpp +++ b/pcbnew/connectivity/connectivity_data.cpp @@ -662,11 +662,6 @@ const std::vector CONNECTIVITY_DATA::GetRatsnestForItems( std::vector( item ); - - if( !conn_item ) - continue; - if( item->Type() == PCB_MODULE_T ) { auto component = static_cast( item ); @@ -677,7 +672,7 @@ const std::vector CONNECTIVITY_DATA::GetRatsnestForItems( std::vector( item ) ) { item_set.insert( conn_item ); nets.insert( conn_item->GetNetCode() );