Fix planner gas consumption

Gaetan Bisson bisson at archlinux.org
Tue Aug 26 02:53:16 PDT 2014


Hi,

Commit 6ed189f32c466f99167ab6657264a45da4b56e8e "Planner: bring sanity
to the SAC rate handling" broke the planner's gas computations in the
following way:
- open the planner
- leave bottomsac and decosac to their default values
- customize pretty much anything else you want
- the plan reads "Gas consumption: 0ℓ/0bar"

However, changing bottomsac and decosac (even changing and then changing
back to the original values) somehow makes the planner correctly compute
gas consumption.

So I have no idea what is going on, but found out that the attached
patch (although it's certainly not the proper way to do things) fixes
the issue for me. 

Cheers.

-- 
Gaetan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yurk.patch
Type: text/x-diff
Size: 431 bytes
Desc: not available
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20140825/e9de446c/attachment.patch>


More information about the subsurface mailing list