disable tr-logic in final pass to preserve voice-hints
This commit is contained in:
parent
95f8c0edab
commit
9d5ecb93ad
1 changed files with 2 additions and 1 deletions
|
@ -205,7 +205,8 @@ final class OsmPath implements OsmLinkHolder
|
||||||
|
|
||||||
// TODO: TRs for inverse routing would need inverse TR logic,
|
// TODO: TRs for inverse routing would need inverse TR logic,
|
||||||
// inverse routing for now just for target island check, so don't care (?)
|
// inverse routing for now just for target island check, so don't care (?)
|
||||||
checkTRs = rc.considerTurnRestrictions && !rc.inverseDirection;
|
// in detail mode (=final pass) no TR to not mess up voice hints
|
||||||
|
checkTRs = rc.considerTurnRestrictions && !rc.inverseDirection && !detailMode;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( checkTRs )
|
if ( checkTRs )
|
||||||
|
|
Loading…
Reference in a new issue