#2331 Add 2d Intersection View collection with automatic views. The create command is adjusted into a "Show" command.

This commit is contained in:
Jacob Støren
2018-01-23 14:23:28 +01:00
parent 9cfd2ff3cf
commit d34b3a7c74
19 changed files with 321 additions and 36 deletions

View File

@@ -36,6 +36,7 @@
#include "RigEclipseCaseData.h"
#include "Rim2dIntersectionViewCollection.h"
#include "Rim3dOverlayInfoConfig.h"
#include "RimCaseCollection.h"
#include "RimCellEdgeColors.h"
@@ -584,6 +585,14 @@ bool RiaApplication::loadProject(const QString& projectFileName, ProjectLoadActi
{
m_project->viewLinkerCollection()->viewLinker()->updateOverrides();
}
// Intersection Views: Sync from intersections in the case.
for (RimCase* cas: casesToLoad)
{
cas->intersectionViewCollection()->syncFromExistingIntersections(false);
}
loadAndUpdatePlotData();