#12954 Update all ensemble curves on x address change

Include the x address when computing hash for the data source for ensemble curves.,
This commit is contained in:
Magne Sjaastad committed 2025-09-30 14:13:15 +02:00
1 parent 61c4f5f453
commit 5998efabb6
1 file changed
+3 -2
@@ -2119,8 +2119,9 @@ void RimEnsembleCurveSet::updateEnsembleCurves( const std::vector<RimSummaryCase
auto plot = firstAncestorOrThisOfTypeAsserted<RimSummaryPlot>();
auto addressText = m_yValuesSummaryAddress()->address().toEclipseTextAddress();
auto newRealizationHash = RiaHashTools::hash( sumCases, addressText );
auto yAddressText = m_yValuesSummaryAddress()->address().toEclipseTextAddress();
auto xAaddressText = m_xAddressSelector->summaryAddress().toEclipseTextAddress();
auto newRealizationHash = RiaHashTools::hash( sumCases, yAddressText, xAaddressText );
if ( newRealizationHash != m_realizationHash )
{
deleteEnsembleCurves();