mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 08:25:03 -05:00
#3687 Fix view updates if creating a brand new contour map, not based on existing view
This commit is contained in:
1 parent
387741d0c1
commit
c99fb71c36
4 files changed
+19
-7
No files matched your search
@@ -179,11 +179,7 @@ RimContourMapView* RicNewContourMapViewFeature::create2dContourMap(RimEclipseCas
|
||||
if (RiaApplication::instance()->preferences()->loadAndShowSoil)
|
||||
{
|
||||
contourMap->cellResult()->setResultVariable("SOIL");
|
||||
}
|
||||
|
||||
contourMap->hasUserRequestedAnimation = true;
|
||||
contourMap->setBackgroundColor(cvf::Color3f(1.0f, 1.0f, 0.98f));
|
||||
contourMap->initAfterReadRecursively();
|
||||
}
|
||||
}
|
||||
|
||||
caf::PdmDocument::updateUiIconStateRecursively(contourMap);
|
||||
@@ -192,5 +188,9 @@ RimContourMapView* RicNewContourMapViewFeature::create2dContourMap(RimEclipseCas
|
||||
contourMap->setName(QString("Contour Map %1").arg(i + 1));
|
||||
eclipseCase->contourMapCollection()->push_back(contourMap);
|
||||
|
||||
contourMap->hasUserRequestedAnimation = true;
|
||||
contourMap->setBackgroundColor(cvf::Color3f(1.0f, 1.0f, 0.98f));
|
||||
contourMap->initAfterReadRecursively();
|
||||
|
||||
return contourMap;
|
||||
}
|
||||
Reference in new issue
Block a user