Add Weight Field To Print Log Page

Lubomir I. Ivanov neolit123 at gmail.com
Fri Feb 26 02:45:42 PST 2016


On 26 February 2016 at 12:02, Lubomir I. Ivanov <neolit123 at gmail.com> wrote:
> On 26 February 2016 at 09:43, Dirk Hohndel <dirk at hohndel.org> wrote:
>> Gehad, Lubomir,
>>
>> As the resident experts, can you comment?
>
> i just tested the latest master quickly and the printing of weights
> and cylinders is indeed broken.
>
> Tomaz did some refactoring to moving the helper Dive class to
> /subsurface-core/subsurface-qt/DiveObjectHelper.h, which could be the
> cause as it was working before.
>

http://lists.subsurface-divelog.org/pipermail/subsurface/2016-January/023912.html
"if you modify the variables in any way let me know so that i can
update the docs."

and the variables are apparently modified...

what we had before was the option to print the whole list of weights
or cylinders with "dive.weights" / "dive.cylinders" (to my
understanding, currently not possible), or a single weight / cylinder
via "dive.weight1-N", "dive.cylinder1-N" (currently available via
dive.weights.0-N and dive.cylinders.0-N).

the sum of weights is apparently available via "dive.sumWeight".

IMHO, Tomaz should look at how the previous lists (dive.weights,
dive.cylinders) worked and implement them back.
then i will document the ".0-N" change and the sumWeight addition.

lubomir
--


More information about the subsurface mailing list