mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Release 2023.06
This commit is contained in:
@@ -48,7 +48,6 @@
|
||||
#include "cafIconProvider.h"
|
||||
#include "cafPdmUiTreeOrdering.h"
|
||||
#include "cvfCamera.h"
|
||||
#include "cvfMatrix4.h"
|
||||
#include "cvfScene.h"
|
||||
|
||||
CAF_PDM_SOURCE_INIT( RimViewLinker, "ViewLinker" );
|
||||
@@ -435,8 +434,7 @@ void RimViewLinker::updateScaleZ( Rim3dView* sourceView, double scaleZ )
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RimViewLinker::isActive() const
|
||||
{
|
||||
RimViewLinkerCollection* viewLinkerCollection = nullptr;
|
||||
this->firstAncestorOrThisOfType( viewLinkerCollection );
|
||||
RimViewLinkerCollection* viewLinkerCollection = firstAncestorOrThisOfType<RimViewLinkerCollection>();
|
||||
|
||||
if ( !viewLinkerCollection )
|
||||
{
|
||||
@@ -545,8 +543,7 @@ void RimViewLinker::updateCursorPosition( const Rim3dView* sourceView, const cvf
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimViewLinker::onChildDeleted( caf::PdmChildArrayFieldHandle* childArray, std::vector<caf::PdmObjectHandle*>& referringObjects )
|
||||
{
|
||||
RimViewLinkerCollection* viewLinkerCollection = nullptr;
|
||||
this->firstAncestorOrThisOfType( viewLinkerCollection );
|
||||
RimViewLinkerCollection* viewLinkerCollection = firstAncestorOrThisOfType<RimViewLinkerCollection>();
|
||||
if ( viewLinkerCollection ) viewLinkerCollection->updateConnectedEditors();
|
||||
|
||||
updateScaleWidgetVisibility();
|
||||
|
||||
Reference in New Issue
Block a user