Fixes a bug reported in https://groups.google.com/g/subsurface-divelog/c/8N3cTz2Zv5E: When planning a CCR dive with OC bailout, the diluent gas may be chosen as the first OC bailout gas, despite being set up with a use type of 'diluent', and likely not being available for open circuit breathing. `best_first_ascend_cylinder` is now initialised to an invalid value (instead of the first cylinder, which may or may not be a diluent cylinder), and its subsequent use is guarded by a validity check. Signed-off-by: Michael Keller <github@ike.ch>
1,016 B
desktop: fix bug in bailout gas selection for CCR dives desktop: fix crash on cylinder update of multiple dives desktop: use dynamic tank use drop down in equipment tab and planner desktop: fix brightness configuration for OSTC4 equipment: Use 'diluent' as default gas use type if the dive mode is 'CCR' htmlexport: fix search in HTML export htmlexport: fix diveguide display statistics: fix value axis for degenerate value ranges profile: Show correct gas density when in CCR mode statistics: show correct color of selected scatter items when switching to unbinned mode statistics: fix display of month number in continuous date axis statistics: fix range of continuous date axis desktop: fix dive time display in time shift dialog libdivecomputer: garmin: relax string parsing sanity checks
- Always add new entries at the very top of this file above other existing entries and this note.
- Use this layout for new entries:
[Area]: [Details about the change] [reference thread / issue]