disable tr-logic in final pass to preserve voice-hints

This commit is contained in:
Arndt 2016-12-11 20:24:09 +01:00
parent 95f8c0edab
commit 9d5ecb93ad

View file

@ -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 )