mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Hand planner variables to profile
Pass the planner state struct to the profile computation so it can use deco_time and first ceiling to display VPM-B ceiling. Signed-off-by: Robert C. Helling <helling@atdotde.de>
This commit is contained in:
parent
8e21a65653
commit
088db5e12b
6 changed files with 15 additions and 8 deletions
|
@ -924,6 +924,7 @@ void DivePlannerPointsModel::createTemporaryPlan()
|
|||
struct deco_state plan_deco_state;
|
||||
plan(&plan_deco_state, &diveplan, &displayed_dive, DECOTIMESTEP, stoptable, &cache, isPlanner(), false);
|
||||
//QtConcurrent::run(this, &DivePlannerPointsModel::computeVariations, &ds_after_previous_dives);
|
||||
final_deco_state = plan_deco_state;
|
||||
emit calculatedPlanNotes();
|
||||
}
|
||||
// throw away the cache
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue