Split a dive by time

Dirk Hohndel dirk at hohndel.org
Mon Jul 2 08:35:04 PDT 2018


> On Jul 2, 2018, at 6:19 AM, Robert C. Helling <robert at euve10195.vserver.de> wrote:
>> Am 02.07.2018 um 13:55 schrieb Berthold Stoeger <bstoeger at mail.tuwien.ac.at>:
>> 
>> On the one hand, these are "low-hanging fruit".
> 
> I have a „context menu split dive here“ almost ready. 

Nice. I assume that this has a helper function split_dive_at_time(struct dive *d, duration_t seconds) 
(I haven't thought through this API through - but I'm thinking this might work... the function just allocates
an extra dive and inserts it after the given dive in the dive_table) which could then be used from the QML UI :-)

/D


More information about the subsurface mailing list