Support loading hierarchical well paths

This commit is contained in:
Gaute Lindkvist
2020-10-07 16:18:24 +02:00
parent 52e3214b0e
commit 0b19307be0
22 changed files with 78 additions and 160 deletions

View File

@@ -333,7 +333,7 @@ QList<caf::PdmOptionItemInfo>
// Find wells with a given measurement.
std::set<QString> wellsWithMeasurementKind;
for ( const auto& well : wellPathCollection->wellPaths() )
for ( const auto& well : wellPathCollection->allWellPaths() )
{
if ( hasMeasurementKindForWell( well, wellPathCollection, measurements, m_measurementKind ) )
wellsWithMeasurementKind.insert( well->name() );
@@ -416,7 +416,7 @@ void RimWellMeasurementInView::setAllWellsSelected()
// Find wells with a given measurement.
std::set<QString> wellsWithMeasurementKind;
for ( const auto& well : wellPathCollection->wellPaths() )
for ( const auto& well : wellPathCollection->allWellPaths() )
{
if ( hasMeasurementKindForWell( well, wellPathCollection, measurements, m_measurementKind ) )
wellsWithMeasurementKind.insert( well->name() );