bug 582, little help

Tomaz Canabrava tcanabrava at kde.org
Mon Jun 30 15:27:12 PDT 2014


It seems that it's just a matter of updating the right values:

on the CylinderModel::data we have

            if (cyl->end.mbar)
                ret = get_pressure_string(cyl->end, true);
            else if (cyl->sample_end.mbar)
                ret = get_pressure_string(cyl->sample_end, true);
            break;


but on the setData, we have

    case END:
        if (CHANGED()) {
            cyl->end = string_to_pressure(vString.toUtf8().data());
            changed = true;
        }
        break;

so the cyl->sample_end will not ever be changed. *but* as the planner
code is big and complex, I wanna make sure of what the correct
intentions are.

Tomaz


More information about the subsurface mailing list