Address #586 by disabling drawing a dive flag pixmap for heading events. I think the best way to visualize heading information is to add a separate graph similar to wind direction in this weather forecast: http://www.meteo.pl/index_en.php but this is beyond my ability.
Thanks, Krzysiek
>From 8295b278493a3be403a3a7254f223b002b013622 Mon Sep 17 00:00:00 2001 From: Krzysztof Arentowicz <[email protected]> Date: Thu, 3 Jul 2014 18:33:35 +0200 Subject: [PATCH] Ignore heading event Do not draw flags for "heading" event. In case of DCs with integrated compas each and every waypoint carries heading information which results in completely mixed-up depth graph. Processing of heading information needs to be done in a separate graph. Addresses #586 Signed-off-by: Krzysztof Arentowicz <[email protected]> --- qt-ui/profile/diveeventitem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt-ui/profile/diveeventitem.cpp b/qt-ui/profile/diveeventitem.cpp index 73d58a6..a0e3572 100644 --- a/qt-ui/profile/diveeventitem.cpp +++ b/qt-ui/profile/diveeventitem.cpp @@ -64,7 +64,7 @@ void DiveEventItem::setupPixmap() } else if (internalEvent->type == SAMPLE_EVENT_BOOKMARK) { setPixmap(EVENT_PIXMAP(":flag")); } else if (strcmp(internalEvent->name, "heading") == 0) { - setPixmap(EVENT_PIXMAP(":flag")); + // do nothing. Ignore heading event so we don't clutter graph. See ticket #586 } else if (internalEvent->type == SAMPLE_EVENT_GASCHANGE || internalEvent->type == SAMPLE_EVENT_GASCHANGE2) { setPixmap(EVENT_PIXMAP_BIGGER(":gaschange")); } else { -- 1.9.1
_______________________________________________ subsurface mailing list [email protected] http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface
