default value for "considerTurnRestrictions" (#307)

This commit is contained in:
afischerdev 2021-09-05 17:12:24 +02:00
parent 85f9df6cb9
commit 1f99ef4d60
2 changed files with 2 additions and 2 deletions

View file

@ -148,7 +148,7 @@ public final class RoutingContext
waypointCatchingRange = expctxGlobal.getVariableValue( "waypointCatchingRange", 250.f ); waypointCatchingRange = expctxGlobal.getVariableValue( "waypointCatchingRange", 250.f );
// turn-restrictions used per default for car profiles // turn-restrictions used per default for car profiles
considerTurnRestrictions = 0.f != expctxGlobal.getVariableValue( "considerTurnRestrictions", carMode ? 1.f : 0.f ); considerTurnRestrictions = 0.f != expctxGlobal.getVariableValue( "considerTurnRestrictions", 1.f );
// process tags not used in the profile (to have them in the data-tab) // process tags not used in the profile (to have them in the data-tab)
processUnusedTags = 0.f != expctxGlobal.getVariableValue( "processUnusedTags", 0.f ); processUnusedTags = 0.f != expctxGlobal.getVariableValue( "processUnusedTags", 0.f );

View file

@ -8,7 +8,7 @@ buildscript {
google() google()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:7.0.1' classpath 'com.android.tools.build:gradle:7.0.2'
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong