diff --git a/pcbnew/board.cpp b/pcbnew/board.cpp index 7c24056289..1989bfee37 100644 --- a/pcbnew/board.cpp +++ b/pcbnew/board.cpp @@ -2269,6 +2269,14 @@ const std::vector BOARD::AllConnectedItems() for( ZONE* zone : Zones() ) items.push_back( zone ); + for( BOARD_ITEM* item : Drawings() ) + { + if( item->Type() == PCB_SHAPE_T ) + { + items.push_back( dynamic_cast( item ) ); + } + } + return items; }