#1594 #1563 Use selected depth type and unit for well log plot when showing plot data

This commit is contained in:
Bjørnar Grip Fjær 2017-06-15 13:13:25 +02:00
parent 952b20b4ee
commit 779ecd2aa1

View File

@ -426,7 +426,14 @@ QString RimWellLogPlot::asciiDataForPlotExport() const
if (curveNames.size() == 1)
{
curveDepths = curveData->measuredDepthPlotValues(RimDefines::UNIT_NONE);
if (depthType() == TRUE_VERTICAL_DEPTH)
{
curveDepths = curveData->trueDepthPlotValues(depthUnit());
}
else
{
curveDepths = curveData->measuredDepthPlotValues(depthUnit());
}
}
std::vector<double> xPlotValues = curveData->xPlotValues();