mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3636 Temporary LGR : Add required reload functions
This commit is contained in:
parent
fcd9c78dcf
commit
eaec135019
@ -160,8 +160,9 @@ void RicCreateTemporaryLgrFeature::onActionTriggered(bool isChecked)
|
|||||||
if (eclipseView)
|
if (eclipseView)
|
||||||
{
|
{
|
||||||
eclipseView->scheduleReservoirGridGeometryRegen();
|
eclipseView->scheduleReservoirGridGeometryRegen();
|
||||||
eclipseView->loadDataAndUpdate();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
v->loadDataAndUpdate();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (intersectingOtherLgr)
|
if (intersectingOtherLgr)
|
||||||
|
@ -37,6 +37,7 @@
|
|||||||
|
|
||||||
#include "Rim2dEclipseView.h"
|
#include "Rim2dEclipseView.h"
|
||||||
#include "Rim2dEclipseViewCollection.h"
|
#include "Rim2dEclipseViewCollection.h"
|
||||||
|
#include "Rim2dIntersectionView.h"
|
||||||
#include "Rim2dIntersectionViewCollection.h"
|
#include "Rim2dIntersectionViewCollection.h"
|
||||||
#include "RimCaseCollection.h"
|
#include "RimCaseCollection.h"
|
||||||
#include "RimCellEdgeColors.h"
|
#include "RimCellEdgeColors.h"
|
||||||
@ -999,6 +1000,11 @@ void RimEclipseCase::reloadDataAndUpdate()
|
|||||||
contourMap->updateAnnotationItems();
|
contourMap->updateAnnotationItems();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for (Rim2dIntersectionView* view : intersectionViewCollection()->views())
|
||||||
|
{
|
||||||
|
view->createDisplayModelAndRedraw();
|
||||||
|
}
|
||||||
|
|
||||||
RimProject* project = RiaApplication::instance()->project();
|
RimProject* project = RiaApplication::instance()->project();
|
||||||
if (project)
|
if (project)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user