Bug fixes for locked tuning patterns.

The router uses locking to know the bounds of the
tuning pattern so it must be temporarily unlocked
while editing with the router.
This commit is contained in:
Jeff Young
2025-08-20 23:23:45 +01:00
parent f896417ed4
commit 90621947bf
3 changed files with 38 additions and 14 deletions
-4
View File
@@ -280,14 +280,10 @@ int GENERATOR_TOOL::GenEditAction( const TOOL_EVENT& aEvent )
else if( aEvent.IsAction( &PCB_ACTIONS::genFinishEdit ) )
{
gen->EditFinish( this, board(), commit );
wxASSERT( commit->Empty() );
}
else if( aEvent.IsAction( &PCB_ACTIONS::genCancelEdit ) )
{
gen->EditCancel( this, board(), commit );
wxASSERT( commit->Empty() );
}
else if( aEvent.IsAction( &PCB_ACTIONS::genRemove ) )
{