mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Update well information when creating a 3D window on a case
p4#: 21468
This commit is contained in:
@@ -364,7 +364,7 @@ void RimReservoirView::fieldChangedByUi(const caf::PdmFieldHandle* changedField,
|
||||
updateViewerWidget();
|
||||
if (generateDisplayModel)
|
||||
{
|
||||
createDisplayModelAndRedraw();
|
||||
updateDisplayModelForWellResults();
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
@@ -230,6 +230,8 @@ void RimWell::defineUiOrdering(QString uiConfigName, caf::PdmUiOrdering& uiOrder
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RimWell::isWellPipeVisible(size_t frameIndex)
|
||||
{
|
||||
CVF_ASSERT(m_wellIndex != cvf::UNDEFINED_SIZE_T);
|
||||
|
||||
// Return the possibly cached value
|
||||
return m_reservoirView->wellCollection()->isWellPipesVisible(frameIndex)[m_wellIndex];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user