aboutsummaryrefslogtreecommitdiffstats
path: root/core/divecomputer.h
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2017-11-16 17:57:37 -0800
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2017-11-17 15:25:26 +0100
commit7fa5fcfa1d3917f125d772708ff742f5e4b1758d (patch)
treea456e8b878cd7bd467957dbeb57b1d6b1c05a1fc /core/divecomputer.h
parent2e82a5d2ed6966cb1ac0fb9751278d357ae6346d (diff)
downloadsubsurface-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/divecomputer.h')
0 files changed, 0 insertions, 0 deletions