diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-11-16 17:57:37 -0800 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2017-11-17 15:25:26 +0100 |
commit | 7fa5fcfa1d3917f125d772708ff742f5e4b1758d (patch) | |
tree | a456e8b878cd7bd467957dbeb57b1d6b1c05a1fc /core/deco.c | |
parent | 2e82a5d2ed6966cb1ac0fb9751278d357ae6346d (diff) | |
download | subsurface-7fa5fcfa1d3917f125d772708ff742f5e4b1758d.tar.gz |
Don't show cylinder pressures for other dive computers
Stefan Fuchs points out that sometimes you get cylinder duplication when
you merge dives, particularly with a planned dive. For example, if we
had different manual pressures in the two different dives, the cylinders
will be kept separate.
But that also means that we don't want to plot the pressures from those
other cylinders that came from another dive and are now associated with
another dive computer.
Change the "seen" logic for the cylinder to ignore cylinders that are
only mentioned by other dive computers than the active one.
Reported-by: Stefan Fuchs <sfuchs@gmx.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'core/deco.c')
0 files changed, 0 insertions, 0 deletions