Update RimWellMeasurementCurve to new api to fix crash in WBS plot.

This commit is contained in:
Kristian Bendiksen
2020-01-16 09:18:40 +01:00
committed by Magne Sjaastad
parent fc43c42f10
commit 6c0de05262

View File

@@ -120,12 +120,13 @@ void RimWellMeasurementCurve::onLoadDataAndUpdate( bool updateParentPlot )
trueVerticalDepthValues.push_back( trueVerticalDepthValues.push_back(
-rigWellPath->interpolatedPointAlongWellPath( measuredDepthValue ).z() ); -rigWellPath->interpolatedPointAlongWellPath( measuredDepthValue ).z() );
} }
this->setValuesAndDepths( values,
measuredDepthValues, this->setValuesWithMdAndTVD( values,
RiaDefines::TRUE_VERTICAL_DEPTH, measuredDepthValues,
rigWellPath->rkbDiff(), trueVerticalDepthValues,
RiaDefines::UNIT_METER, m_wellPath->wellPathGeometry()->rkbDiff(),
false ); RiaDefines::UNIT_METER,
false );
} }
else else
{ {