Changeset 5f5e52f in subsurface


Ignore:
Timestamp:
Jun 21, 2017, 6:39:37 PM (6 months ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
6e2e363
Parents:
b8347d2
git-author:
Robert C. Helling <helling@…> (06/19/17 12:13:27)
git-committer:
Dirk Hohndel <dirk@…> (06/21/17 18:39:37)
Message:

Preserve VPM-B state in profile display

This fixes a but reported by Willem in the display of VPMB
ceilings for logged dives.

Signed-off-by: Robert C. Helling <helling@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/profile.c

    rc6bc88b r5f5e52f  
    10501050                                        final_tts = entry->tts_calc;
    10511051                                /* Restore "real" deco state for next real time step */
    1052                                 restore_deco_state(cache_data, false);
     1052                                restore_deco_state(cache_data, decoMode() == VPMB);
    10531053                                free(cache_data);
    10541054                        }
     
    10671067                        first_iteration = false;
    10681068                        count_iteration ++;
    1069                         restore_deco_state(cache_data_initial, false);
     1069                        restore_deco_state(cache_data_initial, true);
    10701070                } else {
    10711071                        // With Buhlmann, or not in planner, iterating isn't needed.  This makes the while condition false.
Note: See TracChangeset for help on using the changeset viewer.