#10475 Support delta computations for generated results

Add support for RiaDefines::ResultCatType::GENERATED in the condition
This commit is contained in:
Magne Sjaastad committed 2023-08-08 08:23:37 +02:00
1 parent 2172199999
commit 20d762fa33
1 file changed
+3 -1
@@ -1818,7 +1818,9 @@ bool RimEclipseResultDefinition::isDeltaResultEnabled() const
//--------------------------------------------------------------------------------------------------
bool RimEclipseResultDefinition::isDeltaTimeStepPossible() const
{
return isDeltaResultEnabled() && m_resultTypeUiField() == RiaDefines::ResultCatType::DYNAMIC_NATIVE && !isTernarySaturationSelected();
return isDeltaResultEnabled() && !isTernarySaturationSelected() &&
( m_resultTypeUiField() == RiaDefines::ResultCatType::DYNAMIC_NATIVE ||
m_resultTypeUiField() == RiaDefines::ResultCatType::GENERATED );
}
//--------------------------------------------------------------------------------------------------