[PATCH] Drop like a stone mode in planner

Robert C. Helling helling at atdotde.de
Thu Jun 26 12:25:07 PDT 2014

On 26 Jun 2014, at 09:28, Anton Lundin <glance at acc.umu.se> wrote:

> No. I don't agree here.
> This code adds a implicit first way point to the dive, and thus removes
> that from the model.
> If you enable this mode and then move your how first point in the model,
> the first implicit point in the dive is re-calculated. Thats why it
> should stay as a checkbox and not a button.

Sorry, of course you are right, I misunderstood what that checkbox does.

> In the extension of this comes another feature that i have had in mind,
> thats deco sets. Hit a button to add default deco set 1 to your dive,
> hit it again to get deco set 2, again for deco set 3, or clear to remove
> them. Deco set one would be 100% O2, two would be 50%, three 50% and
> 100% and so on.
> This feature would be modelled after deco sets in GUE DecoPlanner, which
> have that feature and i just love it.

You can simulate that feature already: When you open the planner it copies the the gases of the currently selected dive. So If you already have a dive with standard gases just select that one. Or make up such a dive as a dummy. It’s just that you have to know which set you want to use when you start planning, you cannot go to a different set later (but of course you can edit the gas list).

If you still wanted to implement that feature, maybe it would be simpler to have a “Save current gases as a set for later access” button rather than implementing yet another table where you can edit a gas list. Another question (which the approach of copying the gases from a selected dive circumvents) would be where to store those gas lists: In the preferences (in which case you would have to serialise the gas list table) or in the xml/git?


Robert C. Helling     Elite Master Course Theoretical and Mathematical Physics  
                      Scientific Coordinator                                   
                      Ludwig Maximilians Universitaet Muenchen, Dept. Physik    
print "Just another   Phone: +49 89 2180-4523  Theresienstr. 39, rm. B339       
    stupid .sig\n";   http://www.atdotde.de 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20140626/4fc9d8c9/attachment.sig>

More information about the subsurface mailing list