mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2331 Moved redraw scheduling and completion type recalc out of RiaApplication
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
|
||||
#include "RiaApplication.h"
|
||||
#include "RiaPreferences.h"
|
||||
#include "RiaViewRedrawScheduler.h"
|
||||
|
||||
#include "Rim3dOverlayInfoConfig.h"
|
||||
#include "RimCellRangeFilterCollection.h"
|
||||
@@ -317,7 +318,7 @@ QImage Rim3dView::snapshotWindowContent()
|
||||
if (m_viewer)
|
||||
{
|
||||
// Force update of scheduled display models before snapshotting
|
||||
RiaApplication::instance()->slotUpdateScheduledDisplayModels();
|
||||
RiaViewRedrawScheduler::instance()->slotUpdateScheduledDisplayModels();
|
||||
|
||||
m_viewer->repaint();
|
||||
|
||||
@@ -332,7 +333,7 @@ QImage Rim3dView::snapshotWindowContent()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void Rim3dView::scheduleCreateDisplayModelAndRedraw()
|
||||
{
|
||||
RiaApplication::instance()->scheduleDisplayModelUpdateAndRedraw(this);
|
||||
RiaViewRedrawScheduler::instance()->scheduleDisplayModelUpdateAndRedraw(this);
|
||||
if (this->isMasterView())
|
||||
{
|
||||
RimViewLinker* viewLinker = this->assosiatedViewLinker();
|
||||
|
||||
Reference in New Issue
Block a user