mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
MSW : Do not export completions if well path lateral is unchecked
This commit is contained in:
parent
e8e3dc39b4
commit
d4f4f20e6e
@ -1926,7 +1926,8 @@ std::vector<RimModeledWellPath*> RicWellPathExportMswCompletionsImpl::wellPathsW
|
||||
for ( auto w : wellPaths )
|
||||
{
|
||||
auto modelWellPath = dynamic_cast<RimModeledWellPath*>( w );
|
||||
if ( modelWellPath && modelWellPath->wellPathTieIn() && modelWellPath->wellPathTieIn()->parentWell() == wellPath )
|
||||
if ( modelWellPath && modelWellPath->isEnabled() && modelWellPath->wellPathTieIn() &&
|
||||
modelWellPath->wellPathTieIn()->parentWell() == wellPath )
|
||||
{
|
||||
connectedWellPaths.push_back( modelWellPath );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user