Add missing visibility filter for single grid calculations

This commit is contained in:
Magne Sjaastad 2023-12-04 16:12:53 +01:00
parent ca9aa3e647
commit fee950cdd4

View File

@ -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 );
}