#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

@@ -19,6 +19,7 @@
#include "RicExportMultipleSnapshotsFeature.h"
#include "RiaApplication.h"
#include "RiaViewRedrawScheduler.h"
#include "RicSnapshotViewToFileFeature.h"
@@ -229,7 +230,7 @@ void RicExportMultipleSnapshotsFeature::exportViewVariationsToFolder(Rim3dView*
// Force update of scheduled display models modifying the time step
// This is required due to visualization structures updated by the update functions,
// and this is not triggered by changing time step only
RiaApplication::instance()->slotUpdateScheduledDisplayModels();
RiaViewRedrawScheduler::instance()->slotUpdateScheduledDisplayModels();
viewer->setCurrentFrame(i);
viewer->animationControl()->setCurrentFrameOnly(i);