#11857 Make sure the summary curve type is updated

Always compute curve type Rate or Accumulated based on address if Auto curve type is set.
This commit is contained in:
Magne Sjaastad
2024-11-05 15:00:34 +01:00
parent 1cbdbfa7df
commit 67e6df28b5
8 changed files with 11 additions and 18 deletions

View File

@@ -2553,7 +2553,7 @@ RimSummaryCurve* RimSummaryPlot::addNewCurve( const RifEclipseSummaryAddress& ad
{
auto* newCurve = new RimSummaryCurve();
newCurve->setSummaryCaseY( summaryCase );
newCurve->setSummaryAddressYAndApplyInterpolation( address );
newCurve->setSummaryAddressY( address );
// This address is RifEclipseSummaryAddress::time() if the curve is a time plot. Otherwise it is the address of the summary vector used
// for the x-axis