We do not not want to do decompress model calculations in the mobile app (see 130f4cd7ac5b), but we do want to see the divecomputer reported ceiling (in red). The latter is fixed here.
Ticket #1006 Signed-off-by: Jan Mulder <[email protected]> --- subsurface-mobile-main.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/subsurface-mobile-main.cpp b/subsurface-mobile-main.cpp index df25e81..7ed3e42 100644 --- a/subsurface-mobile-main.cpp +++ b/subsurface-mobile-main.cpp @@ -62,6 +62,11 @@ int main(int argc, char **argv) init_ui(); loadPreferences(); prefs.animation_speed = 0; + + /* always show the divecomputer reported ceiling in red */ + prefs.dcceiling = 1; + prefs.redceiling = 1; + init_proxy(); if (no_filenames) { if (prefs.default_file_behavior == LOCAL_DEFAULT_FILE) { -- 2.7.0
>From 2e046d4535d33b6f0266b9b419d5e95780436c36 Mon Sep 17 00:00:00 2001 From: Jan Mulder <[email protected]> Date: Sat, 6 Feb 2016 08:36:42 +0100 Subject: [PATCH] Mobile: always show divecomputer reported ceiling in red We do not not want to do decompress model calculations in the mobile app (see 130f4cd7ac5b), but we do want to see the divecomputer reported ceiling (in red). The latter is fixed here. Ticket #1006 Signed-off-by: Jan Mulder <[email protected]> --- subsurface-mobile-main.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/subsurface-mobile-main.cpp b/subsurface-mobile-main.cpp index df25e81..7ed3e42 100644 --- a/subsurface-mobile-main.cpp +++ b/subsurface-mobile-main.cpp @@ -62,6 +62,11 @@ int main(int argc, char **argv) init_ui(); loadPreferences(); prefs.animation_speed = 0; + + /* always show the divecomputer reported ceiling in red */ + prefs.dcceiling = 1; + prefs.redceiling = 1; + init_proxy(); if (no_filenames) { if (prefs.default_file_behavior == LOCAL_DEFAULT_FILE) { -- 2.7.0
_______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
