mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Don't show the smoothed dive profile or the min/max info
It was good for debugging, it's not something we really want to show people. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
f627dde023
commit
e276b0602b
1 changed files with 8 additions and 2 deletions
|
@ -295,8 +295,14 @@ static void plot_depth_profile(struct graphics_context *gc, struct plot_info *pi
|
||||||
|
|
||||||
gc->leftx = 0; gc->rightx = maxtime;
|
gc->leftx = 0; gc->rightx = maxtime;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* These are good for debugging text placement etc,
|
||||||
|
* but not for actual display..
|
||||||
|
*/
|
||||||
|
if (0) {
|
||||||
plot_smoothed_profile(gc, pi);
|
plot_smoothed_profile(gc, pi);
|
||||||
plot_minmax_profile(gc, pi);
|
plot_minmax_profile(gc, pi);
|
||||||
|
}
|
||||||
|
|
||||||
entry = pi->entry;
|
entry = pi->entry;
|
||||||
set_source_rgba(gc, 1, 0.2, 0.2, 0.80);
|
set_source_rgba(gc, 1, 0.2, 0.2, 0.80);
|
||||||
|
|
Loading…
Add table
Reference in a new issue