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:
@@ -96,6 +96,7 @@
|
|||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
|
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
#include "Rim2dIntersectionView.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1414,6 +1415,15 @@ void RimEclipseView::calculateCompletionTypeAndRedrawIfRequired()
|
|||||||
if (isDependingOnCompletionType)
|
if (isDependingOnCompletionType)
|
||||||
{
|
{
|
||||||
this->loadDataAndUpdate();
|
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)
|
for (const auto& propFilter : m_propertyFilterCollection()->propertyFilters)
|
||||||
|
|||||||
Reference in New Issue
Block a user