mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-24 22:27:55 -05:00
#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:
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();
|
||||
|
||||
Reference in new issue
Block a user