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(
|
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
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user