#1807 Ensure flow characteristics plot is updated when view geometry changes when using visible cells filtering

This commit is contained in:
Bjørnar Grip Fjær
2017-08-24 13:28:17 +02:00
parent dbee70b222
commit 78760d569e
3 changed files with 26 additions and 0 deletions

View File

@@ -57,6 +57,7 @@
#include "RimViewController.h"
#include "RimViewLinker.h"
#include "RimWellPathCollection.h"
#include "RimFlowCharacteristicsPlot.h"
#include "RiuMainWindow.h"
#include "RiuSelectionManager.h"
@@ -494,6 +495,17 @@ void RimEclipseView::createDisplayModel()
m_overlayInfoConfig()->update3DInfo();
updateLegends();
}
std::vector<caf::PdmFieldHandle*> objects;
this->referringPtrFields(objects);
for (auto object : objects)
{
RimFlowCharacteristicsPlot* plot = dynamic_cast<RimFlowCharacteristicsPlot*>(object->ownerObject());
if (plot != nullptr)
{
plot->viewGeometryUpdated();
}
}
}
//--------------------------------------------------------------------------------------------------