mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Update RimWellMeasurementCurve to new api to fix crash in WBS plot.
This commit is contained in:
committed by
Magne Sjaastad
parent
fc43c42f10
commit
6c0de05262
@@ -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