mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#8115 3D View : Simplify objects at top level
This commit is contained in:
@@ -515,15 +515,13 @@ void RimGridView::clearReservoirCellVisibilities()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimGridView::addRequiredUiTreeObjects( caf::PdmUiTreeOrdering& uiTreeOrdering )
|
||||
{
|
||||
RimWellPathCollection* wellPathCollection = RimTools::wellPathCollection();
|
||||
if ( wellPathCollection )
|
||||
{
|
||||
RimWellPathCollection* wellPathCollection = RimTools::wellPathCollection();
|
||||
if ( wellPathCollection )
|
||||
const RimWellMeasurementCollection* measurementCollection = wellPathCollection->measurementCollection();
|
||||
if ( !measurementCollection->measurements().empty() )
|
||||
{
|
||||
const RimWellMeasurementCollection* measurementCollection = wellPathCollection->measurementCollection();
|
||||
if ( !measurementCollection->measurements().empty() )
|
||||
{
|
||||
uiTreeOrdering.add( &m_wellMeasurementCollection );
|
||||
}
|
||||
uiTreeOrdering.add( &m_wellMeasurementCollection );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user