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:
@@ -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 ) )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user