mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3358 Fix missing update of 2D intersection views when completion type is recalculated
This commit is contained in:
parent
0431540073
commit
fce3d586ca
@ -96,6 +96,7 @@
|
||||
#include <QMessageBox>
|
||||
|
||||
#include <limits.h>
|
||||
#include "Rim2dIntersectionView.h"
|
||||
|
||||
|
||||
|
||||
@ -1414,6 +1415,15 @@ void RimEclipseView::calculateCompletionTypeAndRedrawIfRequired()
|
||||
if (isDependingOnCompletionType)
|
||||
{
|
||||
this->loadDataAndUpdate();
|
||||
|
||||
std::vector<RimIntersection*> intersections = m_crossSectionCollection->intersections();
|
||||
for (auto intersection : intersections)
|
||||
{
|
||||
if ( intersection && intersection->correspondingIntersectionView() )
|
||||
{
|
||||
intersection->correspondingIntersectionView()->scheduleCreateDisplayModelAndRedraw();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
for (const auto& propFilter : m_propertyFilterCollection()->propertyFilters)
|
||||
|
Loading…
Reference in New Issue
Block a user