From 5b080beddef3e08b86eb53448e737b4867a50c1a Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Tue, 19 Sep 2017 14:38:38 +0200 Subject: Remove option to apply GFlow at maxdepth This option should have never been there. This is not how gradient factors are supposed to work. It would only trick users to use the wrong value.. Signed-off-by: Robert C. Helling --- qt-models/diveplannermodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt-models') diff --git a/qt-models/diveplannermodel.cpp b/qt-models/diveplannermodel.cpp index e65bb01eb..ca84fd597 100644 --- a/qt-models/diveplannermodel.cpp +++ b/qt-models/diveplannermodel.cpp @@ -208,7 +208,7 @@ void DivePlannerPointsModel::setPlanMode(Mode m) // the planner may reset our GF settings that are used to show deco // reset them to what's in the preferences if (m != PLAN) { - set_gf(prefs.gflow, prefs.gfhigh, prefs.gf_low_at_maxdepth); + set_gf(prefs.gflow, prefs.gfhigh); set_vpmb_conservatism(prefs.vpmb_conservatism); } } -- cgit v1.2.3-70-g09d2