mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-01 03:37:15 -06:00
Add missing visibility filter for single grid calculations
This commit is contained in:
parent
ca9aa3e647
commit
fee950cdd4
@ -126,8 +126,14 @@ bool RimGridCalculation::calculate()
|
||||
}
|
||||
}
|
||||
|
||||
auto timeSteps = std::nullopt;
|
||||
auto inputValueVisibilityFilter = nullptr;
|
||||
cvf::UByteArray* inputValueVisibilityFilter = nullptr;
|
||||
if ( m_cellFilterView() )
|
||||
{
|
||||
inputValueVisibilityFilter = m_cellFilterView()->currentTotalCellVisibility().p();
|
||||
}
|
||||
|
||||
auto timeSteps = std::nullopt;
|
||||
|
||||
return calculateForCases( outputEclipseCases(), inputValueVisibilityFilter, timeSteps );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user