mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5856 Well Disks : Improve logic to guard when geometry is created
This commit is contained in:
parent
3ef41345d0
commit
a615cc78dc
@ -468,7 +468,7 @@ void RivWellDiskPartMgr::appendDynamicGeometryPartsToModel( cvf::ModelBasicList*
|
||||
if ( m_rimWell.isNull() ) return;
|
||||
if ( !viewWithSettings() ) return;
|
||||
|
||||
if ( !m_rimWell->isWellPipeVisible( frameIndex ) ) return;
|
||||
if ( !m_rimWell->isWellDiskVisible() ) return;
|
||||
if ( !m_rimWell->isValidDisk() ) return;
|
||||
|
||||
buildWellDiskParts( frameIndex, displayXf );
|
||||
|
@ -653,6 +653,7 @@ bool RimSimWellInView::isWellDiskVisible() const
|
||||
if ( this->simWellData() == nullptr ) return false;
|
||||
|
||||
if ( !reservoirView->wellCollection()->isActive() ) return false;
|
||||
if ( !reservoirView->wellCollection()->isWellDisksVisible() ) return false;
|
||||
|
||||
if ( !this->showWell() ) return false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user