mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1807 Ensure flow characteristics plot is updated when view geometry changes when using visible cells filtering
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user