From 0cf433b28e530bfbda79b5a4e4befb3c10cd1ad7 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Mon, 12 Feb 2024 23:57:31 +0000 Subject: [PATCH] CONVERT_TOOL::CreateLines() doesn't use SKIP_STRUCT flag. Fixes https://gitlab.com/kicad/code/kicad/-/issues/16930 --- pcbnew/tools/convert_tool.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pcbnew/tools/convert_tool.cpp b/pcbnew/tools/convert_tool.cpp index 2fdbeaaf8e..d1e4e9b411 100644 --- a/pcbnew/tools/convert_tool.cpp +++ b/pcbnew/tools/convert_tool.cpp @@ -1103,10 +1103,7 @@ int CONVERT_TOOL::CreateLines( const TOOL_EVENT& aEvent ) m_selectionTool->ClearSelection(); for( EDA_ITEM* item : selectionCopy ) - { - if( item->GetFlags() & SKIP_STRUCT ) - commit.Remove( item ); - } + commit.Remove( item ); } commit.Push( _( "Create Lines" ) );