mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4857 Fix RicNewWellPathIntersectionFeature picking.
Also avoid confusing active view change.
This commit is contained in:
@@ -198,14 +198,14 @@ void RimIntersectionCollection::recomputeSimWellBranchData()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimIntersectionCollection::appendIntersectionAndUpdate( RimIntersection* intersection )
|
||||
void RimIntersectionCollection::appendIntersectionAndUpdate( RimIntersection* intersection, bool allowActiveViewChange )
|
||||
{
|
||||
m_intersections.push_back( intersection );
|
||||
|
||||
syncronize2dIntersectionViews();
|
||||
|
||||
updateConnectedEditors();
|
||||
Riu3DMainWindowTools::selectAsCurrentItem( intersection );
|
||||
Riu3DMainWindowTools::selectAsCurrentItem( intersection, allowActiveViewChange );
|
||||
|
||||
Rim3dView* rimView = nullptr;
|
||||
firstAncestorOrThisOfType( rimView );
|
||||
|
||||
Reference in New Issue
Block a user