mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-21 22:13:25 -06:00
#4115 Avoid updating plots in RimEclipseCase::computeCachedData()
This commit is contained in:
parent
2894002b05
commit
90b189f490
@ -536,11 +536,11 @@ void RimEclipseCase::computeCachedData()
|
||||
pInf.setProgressDescription("Calculating Formation Names Result");
|
||||
if (activeFormationNames())
|
||||
{
|
||||
rigEclipseCase->setActiveFormationNamesAndUpdatePlots(activeFormationNames()->formationNamesData());
|
||||
rigEclipseCase->setActiveFormationNames(activeFormationNames()->formationNamesData());
|
||||
}
|
||||
else
|
||||
{
|
||||
rigEclipseCase->setActiveFormationNamesAndUpdatePlots(nullptr);
|
||||
rigEclipseCase->setActiveFormationNames(nullptr);
|
||||
}
|
||||
|
||||
pInf.incrementProgress();
|
||||
|
@ -670,12 +670,20 @@ void RigEclipseCaseData::computeActiveCellsGeometryBoundingBox()
|
||||
m_mainGrid->setDisplayModelOffset(bb.min());
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RigEclipseCaseData::setActiveFormationNames(RigFormationNames* activeFormationNames)
|
||||
{
|
||||
m_matrixModelResults->setActiveFormationNames(activeFormationNames);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RigEclipseCaseData::setActiveFormationNamesAndUpdatePlots(RigFormationNames* activeFormationNames)
|
||||
{
|
||||
m_matrixModelResults->setActiveFormationNames(activeFormationNames);
|
||||
setActiveFormationNames(activeFormationNames);
|
||||
|
||||
RimProject* project = RiaApplication::instance()->project();
|
||||
if (project)
|
||||
|
@ -86,6 +86,7 @@ public:
|
||||
|
||||
bool hasFractureResults() const;
|
||||
|
||||
void setActiveFormationNames(RigFormationNames* activeFormationNames);
|
||||
void setActiveFormationNamesAndUpdatePlots(RigFormationNames* activeFormationNames);
|
||||
RigFormationNames* activeFormationNames();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user