CONVERT_TOOL::CreateLines() doesn't use SKIP_STRUCT flag.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/16930
This commit is contained in:
Jeff Young 2024-02-12 23:57:31 +00:00
parent ce4ffd79d5
commit 0cf433b28e
1 changed files with 1 additions and 4 deletions

View File

@ -1103,11 +1103,8 @@ int CONVERT_TOOL::CreateLines( const TOOL_EVENT& aEvent )
m_selectionTool->ClearSelection(); m_selectionTool->ClearSelection();
for( EDA_ITEM* item : selectionCopy ) for( EDA_ITEM* item : selectionCopy )
{
if( item->GetFlags() & SKIP_STRUCT )
commit.Remove( item ); commit.Remove( item );
} }
}
commit.Push( _( "Create Lines" ) ); commit.Push( _( "Create Lines" ) );