mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5656 Fix display of well disks in contour map
The summary reader would not be set if the property editor had not been shown (i.e. defineUiOrdering had not been done) before the first draw.
This commit is contained in:
parent
a0014f9d05
commit
3931f68c4f
@ -1894,6 +1894,8 @@ bool RimEclipseView::isTimeStepDependentDataVisible() const
|
||||
|
||||
if ( this->hasVisibleTimeStepDependent3dWellLogCurves() ) return true;
|
||||
|
||||
if ( this->wellPathCollection() && this->wellCollection()->isWellDisksVisible() ) return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -489,9 +489,16 @@ void RimSimWellInViewCollection::fieldChangedByUi( const caf::PdmFieldHandle* ch
|
||||
|
||||
if ( m_reservoirView )
|
||||
{
|
||||
if ( !m_wellDiskSummaryCase() )
|
||||
{
|
||||
setDefaultSourceCaseForWellDisks();
|
||||
}
|
||||
|
||||
if ( &isActive == changedField || &m_showWellLabel == changedField || &m_showWellCells == changedField ||
|
||||
&m_showWellCellFence == changedField || &wellCellFenceType == changedField )
|
||||
{
|
||||
RimWellDiskConfig wellDiskConfig = getActiveWellDiskConfig();
|
||||
updateWellDisks( wellDiskConfig );
|
||||
m_reservoirView->scheduleGeometryRegen( VISIBLE_WELL_CELLS );
|
||||
m_reservoirView->scheduleCreateDisplayModelAndRedraw();
|
||||
}
|
||||
@ -502,14 +509,14 @@ void RimSimWellInViewCollection::fieldChangedByUi( const caf::PdmFieldHandle* ch
|
||||
else if ( &m_wellDiskQuantity == changedField || &m_wellDiskPropertyType == changedField ||
|
||||
&m_wellDiskPropertyConfigType == changedField || &m_wellDiskshowLabelsBackground == changedField ||
|
||||
&m_wellDiskShowQuantityLabels == changedField || &m_wellDiskSummaryCase == changedField ||
|
||||
&m_wellDiskScaleFactor == changedField )
|
||||
&m_wellDiskScaleFactor == changedField || &m_showWellDisks == changedField )
|
||||
{
|
||||
RimWellDiskConfig wellDiskConfig = getActiveWellDiskConfig();
|
||||
updateWellDisks( wellDiskConfig );
|
||||
m_reservoirView->updateDisplayModelForCurrentTimeStepAndRedraw();
|
||||
}
|
||||
else if ( &spheresScaleFactor == changedField || &m_showWellSpheres == changedField ||
|
||||
&m_showWellDisks == changedField || &showConnectionStatusColors == changedField )
|
||||
&showConnectionStatusColors == changedField )
|
||||
{
|
||||
m_reservoirView->scheduleSimWellGeometryRegen();
|
||||
m_reservoirView->scheduleCreateDisplayModelAndRedraw();
|
||||
|
Loading…
Reference in New Issue
Block a user