mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Moved camera update from RimView to RimViewLinker
This commit is contained in:
@@ -177,16 +177,15 @@ void RimViewLink::fieldChangedByUi(const caf::PdmFieldHandle* changedField, cons
|
||||
|
||||
if (m_managedView)
|
||||
{
|
||||
RimViewLinker* linkedViews = NULL;
|
||||
this->firstAnchestorOrThisOfType(linkedViews);
|
||||
RimViewLinker* viewLinker = ownerViewLinker();
|
||||
|
||||
if (syncCellResult())
|
||||
{
|
||||
linkedViews->updateCellResult();
|
||||
viewLinker->updateCellResult();
|
||||
}
|
||||
if (syncCamera())
|
||||
{
|
||||
m_managedView->notifyCameraHasChanged();
|
||||
viewLinker->updateCamera(m_managedView);
|
||||
}
|
||||
|
||||
name = RimViewLinker::displayNameForView(m_managedView);
|
||||
|
||||
Reference in New Issue
Block a user