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 <helling@atdotde.de>
This commit is contained in:
Robert C. Helling 2017-09-19 14:38:38 +02:00 committed by Dirk Hohndel
parent a6f186279f
commit 5b080bedde
9 changed files with 61 additions and 105 deletions

View file

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