diff options
author | Robert C. Helling <helling@atdotde.de> | 2017-02-09 18:12:44 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-02-11 08:31:42 -0800 |
commit | e31714d9b260b37ea2060e051594ad704137d844 (patch) | |
tree | fcdd054a99ac485f307804ade01864f9604290b0 /scripts | |
parent | 057419fa8528504b5f84dbdb6d7acdb4141d03ee (diff) | |
download | subsurface-e31714d9b260b37ea2060e051594ad704137d844.tar.gz |
Set up gaslist only in the beginning of diveplan
In the beginning of the diveplan, divedatapoints of zero
duration indicate available gases with the depth giving
the suggested switch depth. Zero-duration datapoints in
the middle of the dive do not have this meaning and should
thus be ignored when composing the gaslist.
The tests should have these gas defining segments in the beginning.
This fixes a problem when replanning a dive that would change
to random gases during deco.
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions