mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fixed up regression introduced in 28a0e1107c
Loading of result is supposed to happen only for RimWellLogExtractionCurve
This commit is contained in:
parent
34862d39b0
commit
c0d08dd37f
@ -229,6 +229,8 @@ void RimWellLogExtractionCurve::updatePlotData()
|
||||
tvDepthValues = eclExtractor->trueVerticalDepth();
|
||||
}
|
||||
|
||||
m_eclipseResultDefinition->loadResult();
|
||||
|
||||
cvf::ref<RigResultAccessor> resAcc = RigResultAccessorFactory::createResultAccessor(
|
||||
eclipseCase->reservoirData(),
|
||||
0,
|
||||
|
@ -162,7 +162,6 @@ cvf::ref<RigResultAccessor> RigResultAccessorFactory::createResultAccessor(RigCa
|
||||
cvf::ref<RigResultAccessor> RigResultAccessorFactory::createResultAccessor(RigCaseData* eclipseCase, size_t gridIndex, size_t timeStepIndex, RimEclipseResultDefinition* resultDefinition)
|
||||
{
|
||||
RifReaderInterface::PorosityModelResultType porosityModel = RigCaseCellResultsData::convertFromProjectModelPorosityModel(resultDefinition->porosityModel());
|
||||
resultDefinition->loadResult();
|
||||
|
||||
size_t adjustedTimeStepIndex = timeStepIndex;
|
||||
if (resultDefinition->hasStaticResult())
|
||||
|
Loading…
Reference in New Issue
Block a user