mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix inverted check
This commit is contained in:
parent
d0ee914d5c
commit
4d332ee98e
@ -139,11 +139,11 @@ void RimPlotCellPropertyFilter::updateCellVisibilityFromFilter(size_t timeStepIn
|
|||||||
|
|
||||||
resDef->loadResult();
|
resDef->loadResult();
|
||||||
|
|
||||||
if (resDef->currentGridCellResults()->hasResultEntry(resDef->eclipseResultAddress())) return;
|
|
||||||
|
|
||||||
RigCaseCellResultsData* cellResultsData = resDef->currentGridCellResults();
|
RigCaseCellResultsData* cellResultsData = resDef->currentGridCellResults();
|
||||||
if (!cellResultsData) return;
|
if (!cellResultsData) return;
|
||||||
|
|
||||||
|
if (!resDef->currentGridCellResults()->hasResultEntry(resDef->eclipseResultAddress())) return;
|
||||||
|
|
||||||
const std::vector<double>& cellResultValues =
|
const std::vector<double>& cellResultValues =
|
||||||
cellResultsData->cellScalarResults(resDef->eclipseResultAddress(), timeStepIndex);
|
cellResultsData->cellScalarResults(resDef->eclipseResultAddress(), timeStepIndex);
|
||||||
if (cellResultValues.empty()) return;
|
if (cellResultValues.empty()) return;
|
||||||
|
Loading…
Reference in New Issue
Block a user