CONVERT_TOOL::CreateLines() doesn't use SKIP_STRUCT flag.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16930
This commit is contained in:
parent
ce4ffd79d5
commit
0cf433b28e
|
@ -1103,10 +1103,7 @@ int CONVERT_TOOL::CreateLines( const TOOL_EVENT& aEvent )
|
||||||
m_selectionTool->ClearSelection();
|
m_selectionTool->ClearSelection();
|
||||||
|
|
||||||
for( EDA_ITEM* item : selectionCopy )
|
for( EDA_ITEM* item : selectionCopy )
|
||||||
{
|
commit.Remove( item );
|
||||||
if( item->GetFlags() & SKIP_STRUCT )
|
|
||||||
commit.Remove( item );
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
commit.Push( _( "Create Lines" ) );
|
commit.Push( _( "Create Lines" ) );
|
||||||
|
|
Loading…
Reference in New Issue