prepare rerouting

This commit is contained in:
afischerdev 2024-01-19 16:37:29 +01:00
parent ae7411d4a0
commit e5ecd14ce1
2 changed files with 16 additions and 1 deletions

View file

@ -110,7 +110,8 @@ public class BRouter {
}
re.doRun(0);
if (engineMode == RoutingEngine.BROUTER_ENGINEMODE_ROUTING) {
if (engineMode == RoutingEngine.BROUTER_ENGINEMODE_ROUTING ||
engineMode == RoutingEngine.BROUTER_ENGINEMODE_PREPARE_REROUTE) {
// store new reference track if any
// (can exist for timed-out search)
if (re.getFoundRawTrack() != null) {