#7719 Multi-lateral wells : Include well laterals in visible wells

This commit is contained in:
Magne Sjaastad 2021-05-25 09:33:52 +02:00
parent 3d44ad37db
commit e33a03b379

View File

@ -152,13 +152,5 @@ std::vector<RimWellPath*> RicExportCompletionsForVisibleWellPathsFeature::visibl
}
}
std::set<RimWellPath*> uniqueWellPaths( wellPaths.begin(), wellPaths.end() );
wellPaths.assign( uniqueWellPaths.begin(), uniqueWellPaths.end() );
wellPaths.erase( std::remove_if( wellPaths.begin(),
wellPaths.end(),
[]( auto wellPath ) { return !wellPath->isTopLevelWellPath(); } ),
wellPaths.end() );
return wellPaths;
}