Add Well paths to other well paths

This commit is contained in:
Gaute Lindkvist
2020-10-07 13:53:36 +02:00
parent 2a06f74076
commit 52e3214b0e
6 changed files with 88 additions and 5 deletions

View File

@@ -361,6 +361,14 @@ double RimWellPath::endMD() const
return std::numeric_limits<double>::infinity();
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimWellPath::addChildWellPath( RimWellPath* wellPath )
{
m_childWellPaths.push_back( wellPath );
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
@@ -631,6 +639,9 @@ void RimWellPath::defineUiTreeOrdering( caf::PdmUiTreeOrdering& uiTreeOrdering,
uiTreeOrdering.add( m_wellPathAttributes() );
}
for ( auto child : m_childWellPaths() )
uiTreeOrdering.add( child );
uiTreeOrdering.skipRemainingChildren( true );
}