From 38cc8bdc40af408afb7904710d4db90eff20376e Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Sun, 10 Dec 2017 08:18:53 +0200 Subject: [PATCH] Support dctype/divemode on UDDF import This will grab the divemode information from the first waypoint within the dive that includes this info and uses it for dctype. Note that our dive type is not as fine grained as the one in UDDF. The latter allows one to switch divemode during the dive when we do not. However, one could argue that i.e. a rebreather dive should be a rebreather dive even if one switches to bailout gas at some point... Fixes #922 Signed-off-by: Miika Turkia --- xslt/uddf.xslt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/xslt/uddf.xslt b/xslt/uddf.xslt index e5c0f33f1..912b0f4d3 100644 --- a/xslt/uddf.xslt +++ b/xslt/uddf.xslt @@ -359,6 +359,27 @@ + + + + + + Freedive + + + CCR + + + PSCR + + + OC + + + + +