mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4857 Make RicNewWellLogCurveExtractionFeature picking more conceptually correct.
The previous code did also work.
This commit is contained in:
parent
734d954cfb
commit
59c25c6762
@ -28,6 +28,7 @@
|
|||||||
#include "RigWellLogCurveData.h"
|
#include "RigWellLogCurveData.h"
|
||||||
|
|
||||||
#include "Rim3dView.h"
|
#include "Rim3dView.h"
|
||||||
|
#include "RimGridView.h"
|
||||||
#include "RimProject.h"
|
#include "RimProject.h"
|
||||||
#include "RimSimWellInView.h"
|
#include "RimSimWellInView.h"
|
||||||
#include "RimSimWellInViewCollection.h"
|
#include "RimSimWellInViewCollection.h"
|
||||||
@ -81,7 +82,7 @@ void RicNewWellLogCurveExtractionFeature::onActionTriggered( bool isChecked )
|
|||||||
RimWellPath* wellPath = caf::SelectionManager::instance()->selectedItemOfType<RimWellPath>();
|
RimWellPath* wellPath = caf::SelectionManager::instance()->selectedItemOfType<RimWellPath>();
|
||||||
int branchIndex = -1;
|
int branchIndex = -1;
|
||||||
RimSimWellInView* simWell = RicWellLogTools::selectedSimulationWell( &branchIndex );
|
RimSimWellInView* simWell = RicWellLogTools::selectedSimulationWell( &branchIndex );
|
||||||
Rim3dView* view = RiaApplication::instance()->activeReservoirView();
|
Rim3dView* view = RiaApplication::instance()->activeMainOrComparisonGridView();
|
||||||
bool useBranchDetection = true;
|
bool useBranchDetection = true;
|
||||||
RimSimWellInViewCollection* simWellColl = nullptr;
|
RimSimWellInViewCollection* simWellColl = nullptr;
|
||||||
if ( simWell )
|
if ( simWell )
|
||||||
|
Loading…
Reference in New Issue
Block a user