Rename of class names and files related to linked views

This commit is contained in:
Magne Sjaastad
2015-09-07 14:29:46 +02:00
parent 797c14c6f6
commit f16b2af600
17 changed files with 159 additions and 160 deletions

View File

@@ -23,9 +23,9 @@
#include "RiaApplication.h"
#include "RiaBaseDefs.h"
#include "RimLinkedViews.h"
#include "RimProject.h"
#include "RimView.h"
#include "RimViewLinker.h"
#include "RiuCadNavigation.h"
#include "RiuGeoQuestNavigation.h"
@@ -261,10 +261,10 @@ void RiuViewer::slotSetCurrentFrame(int frameIndex)
{
RimProject* proj = NULL;
m_reservoirView->firstAnchestorOrThisOfType(proj);
RimLinkedViews* linkedViews = proj->findLinkedViewsGroupForView(m_reservoirView);
if (linkedViews)
RimViewLinker* viewLinker = proj->findViewLinkerFromView(m_reservoirView);
if (viewLinker)
{
linkedViews->updateTimeStep(m_reservoirView, frameIndex);
viewLinker->updateTimeStep(m_reservoirView, frameIndex);
}
}
}