#2331 Moved redraw scheduling and completion type recalc out of RiaApplication

This commit is contained in:
Jacob Støren
2018-01-12 11:31:01 +01:00
parent 591b72901f
commit 4b26354b30
12 changed files with 383 additions and 188 deletions

View File

@@ -20,6 +20,7 @@
#include "RiaApplication.h"
#include "RiaLogging.h"
#include "RiaViewRedrawScheduler.h"
#include "RimMainPlotCollection.h"
#include "RimProject.h"
@@ -110,7 +111,7 @@ void RicSnapshotAllViewsToFileFeature::exportSnapshotOfAllViewsIntoFolder(QStrin
RiuViewer* viewer = riv->viewer();
mainWnd->setActiveViewer(viewer->layoutWidget());
RiaApplication::instance()->clearViewsScheduledForUpdate();
RiaViewRedrawScheduler::instance()->clearViewsScheduledForUpdate();
//riv->updateCurrentTimeStepAndRedraw();
riv->createDisplayModelAndRedraw();