From 1f99ef4d60c17485aefbd2187941997de4b6de6f Mon Sep 17 00:00:00 2001 From: afischerdev Date: Sun, 5 Sep 2021 17:12:24 +0200 Subject: [PATCH] default value for "considerTurnRestrictions" (#307) --- brouter-core/src/main/java/btools/router/RoutingContext.java | 2 +- build.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/brouter-core/src/main/java/btools/router/RoutingContext.java b/brouter-core/src/main/java/btools/router/RoutingContext.java index 7c3192b..2076484 100644 --- a/brouter-core/src/main/java/btools/router/RoutingContext.java +++ b/brouter-core/src/main/java/btools/router/RoutingContext.java @@ -148,7 +148,7 @@ public final class RoutingContext waypointCatchingRange = expctxGlobal.getVariableValue( "waypointCatchingRange", 250.f ); // 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) processUnusedTags = 0.f != expctxGlobal.getVariableValue( "processUnusedTags", 0.f ); diff --git a/build.gradle b/build.gradle index c1c70c8..6159df7 100644 --- a/build.gradle +++ b/build.gradle @@ -8,7 +8,7 @@ buildscript { google() } 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