#3358 Fix missing update of 2D intersection views when completion type is recalculated

This commit is contained in:
Jacob Støren 2018-09-12 13:52:08 +02:00
parent 0431540073
commit fce3d586ca

View File

@ -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)