mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3549 Temporary LGR : Reload grid after creating LGRs
This commit is contained in:
parent
e0202f87af
commit
a9457b85c8
@ -143,7 +143,15 @@ void RicCreateTemporaryLgrFeature::onActionTriggered(bool isChecked)
|
||||
computeCachedData(eclipseCase);
|
||||
RiaApplication::instance()->project()->mainPlotCollection()->wellLogPlotCollection()->reloadAllPlots();
|
||||
|
||||
RiaCompletionTypeCalculationScheduler::instance()->scheduleRecalculateCompletionTypeAndRedrawAllViews(eclipseCase);
|
||||
for (const auto& v : eclipseCase->views())
|
||||
{
|
||||
RimEclipseView* eclipseView = dynamic_cast<RimEclipseView*>(v);
|
||||
if (eclipseView)
|
||||
{
|
||||
eclipseView->scheduleReservoirGridGeometryRegen();
|
||||
eclipseView->scheduleCreateDisplayModelAndRedraw();
|
||||
}
|
||||
}
|
||||
|
||||
if (intersectsExistingLgr)
|
||||
{
|
||||
@ -272,6 +280,7 @@ void RicCreateTemporaryLgrFeature::deleteAllCachedData(RimEclipseCase* eclipseCa
|
||||
if (eclipseCaseData)
|
||||
{
|
||||
eclipseCaseData->clearWellCellsInGridCache();
|
||||
eclipseCaseData->setVirtualPerforationTransmissibilities(nullptr);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user