Autorouter starter batch method returns the actual thread now

This commit is contained in:
Andras Fuchs 2020-02-04 22:16:07 +01:00
parent 085ca90a94
commit 27a1b07398
1 changed files with 5 additions and 2 deletions

View File

@ -1468,15 +1468,18 @@ public class BoardHandling extends BoardHandlingImpl
/**
* Start the batch autorouter on the whole Board
*/
public void start_batch_autorouter()
public InteractiveActionThread start_batch_autorouter()
{
if (board_is_read_only)
{
return;
return null;
}
board.generate_snapshot();
this.interactive_action_thread = InteractiveActionThread.get_batch_autorouter_instance(this);
this.interactive_action_thread.start();
return this.interactive_action_thread;
}
/**