mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3958 Starting refactoring of eclipse results addressing
Preparations for time diff results
This commit is contained in:
@@ -159,7 +159,7 @@ void RivReservoirFaultsPartMgr::appendPartsToModel(cvf::ModelBasicList* model)
|
||||
bool showNncs = true;
|
||||
if (faultCollection->hideNncsWhenNoResultIsAvailable())
|
||||
{
|
||||
size_t scalarResultIndex = cvf::UNDEFINED_SIZE_T;
|
||||
RigEclipseResultAddress scalarResultIndex;
|
||||
if (faultResultColors->showCustomFaultResult())
|
||||
{
|
||||
scalarResultIndex = faultResultColors->customFaultResult()->scalarResultIndex();
|
||||
@@ -170,7 +170,7 @@ void RivReservoirFaultsPartMgr::appendPartsToModel(cvf::ModelBasicList* model)
|
||||
}
|
||||
|
||||
RigMainGrid* mainGrid = m_reservoirView->mainGrid();
|
||||
if (!(mainGrid && mainGrid->nncData()->hasScalarValues(scalarResultIndex)))
|
||||
if (!(mainGrid && mainGrid->nncData()->hasScalarValues(scalarResultIndex.scalarResultIndex)))
|
||||
{
|
||||
showNncs = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user