Selecting a well path in 3d view can now update selected well path in well log plots

This commit is contained in:
jonjenssen
2022-08-17 00:18:12 +02:00
committed by Magne Sjaastad
parent 05e0817074
commit 6a745671d7
4 changed files with 33 additions and 8 deletions

View File

@@ -35,6 +35,7 @@
#include "RimWellPathValve.h"
#include "RiuMainWindow.h"
#include "RiuPlotMainWindow.h"
#include "RivExtrudedCurveIntersectionPartMgr.h"
#include "RivObjectSourceInfo.h"
@@ -231,6 +232,8 @@ bool RicWellPathPickEventHandler::handle3dPickEvent( const Ric3dPickEvent& event
RiuMainWindow::instance()->setResultInfo( wellPathText );
RiuPlotMainWindow::onWellSelected( wellPathSourceInfo->wellPath()->name() );
if ( objectToSelect )
{
RiuMainWindow::instance()->selectAsCurrentItem( objectToSelect );