mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3793 View auto name. Move ViewNameConfig to 3dView and replace current name field. InitAfterRead update to be backward compatible
This commit is contained in:
@@ -150,11 +150,10 @@ RimContourMapView* RicNewContourMapViewFeature::create2dContourMapFrom3dView(Rim
|
||||
|
||||
contourMap->setEclipseCase(eclipseCase);
|
||||
contourMap->setBackgroundColor(cvf::Color3f(1.0f, 1.0f, 0.98f)); // Ignore original view background
|
||||
contourMap->setDefaultCustomName();
|
||||
|
||||
caf::PdmDocument::updateUiIconStateRecursively(contourMap);
|
||||
|
||||
size_t i = eclipseCase->contourMapCollection()->views().size();
|
||||
contourMap->setName(QString("Contour Map %1").arg(i + 1));
|
||||
eclipseCase->contourMapCollection()->push_back(contourMap);
|
||||
|
||||
contourMap->syncronizeLocalAnnotationsFromGlobal();
|
||||
|
||||
Reference in New Issue
Block a user