mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-16 18:32:10 -05:00
Update RimWellMeasurementCurve to new api to fix crash in WBS plot.
This commit is contained in:
1 parent
fc43c42f10
commit
6c0de05262
1 file changed
+7
-6
@@ -120,12 +120,13 @@ void RimWellMeasurementCurve::onLoadDataAndUpdate( bool updateParentPlot )
|
||||
trueVerticalDepthValues.push_back(
|
||||
-rigWellPath->interpolatedPointAlongWellPath( measuredDepthValue ).z() );
|
||||
}
|
||||
this->setValuesAndDepths( values,
|
||||
measuredDepthValues,
|
||||
RiaDefines::TRUE_VERTICAL_DEPTH,
|
||||
rigWellPath->rkbDiff(),
|
||||
RiaDefines::UNIT_METER,
|
||||
false );
|
||||
|
||||
this->setValuesWithMdAndTVD( values,
|
||||
measuredDepthValues,
|
||||
trueVerticalDepthValues,
|
||||
m_wellPath->wellPathGeometry()->rkbDiff(),
|
||||
RiaDefines::UNIT_METER,
|
||||
false );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user