mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-10 23:46:00 -06:00
#4688 Contour plot : Changing Base Time Step has no effect
This commit is contained in:
parent
25c692d3db
commit
1cb1720327
@ -52,6 +52,8 @@
|
||||
#include "RimReservoirCellResultsStorage.h"
|
||||
#include "RimViewLinker.h"
|
||||
#include "RimWellLogExtractionCurve.h"
|
||||
#include "RimContourMapProjection.h"
|
||||
#include "RimEclipseContourMapView.h"
|
||||
|
||||
#include "cafPdmUiListEditor.h"
|
||||
#include "cafPdmUiToolButtonEditor.h"
|
||||
@ -286,14 +288,28 @@ void RimEclipseResultDefinition::fieldChangedByUi(const caf::PdmFieldHandle* cha
|
||||
loadDataAndUpdate();
|
||||
}
|
||||
|
||||
RimEclipseContourMapView* contourMapView = nullptr;
|
||||
this->firstAncestorOrThisOfType(contourMapView);
|
||||
|
||||
if (&m_differenceCase == changedField)
|
||||
{
|
||||
m_timeLapseBaseTimestep = RigEclipseResultAddress::noTimeLapseValue();
|
||||
|
||||
if (contourMapView)
|
||||
{
|
||||
contourMapView->contourMapProjection()->updatedWeightingResult();
|
||||
}
|
||||
|
||||
loadDataAndUpdate();
|
||||
}
|
||||
|
||||
if (&m_timeLapseBaseTimestep == changedField)
|
||||
{
|
||||
if (contourMapView)
|
||||
{
|
||||
contourMapView->contourMapProjection()->updatedWeightingResult();
|
||||
}
|
||||
|
||||
loadDataAndUpdate();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user