mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2331 Add 2d Intersection View collection with automatic views. The create command is adjusted into a "Show" command.
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user