mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2939 ProgressInfo: Reintroduce process envents, to update the progress dialog durig processing on linux/mac.
Introduced isActive and used this info to block sheduled redraw/display model regen when progress bar is active, to avoid unintended recursive behaviour resulting in crashes.
This commit is contained in:
@@ -256,7 +256,7 @@ QImage Rim3dView::snapshotWindowContent()
|
||||
if (m_viewer)
|
||||
{
|
||||
// Force update of scheduled display models before snapshotting
|
||||
RiaViewRedrawScheduler::instance()->slotUpdateScheduledDisplayModels();
|
||||
RiaViewRedrawScheduler::instance()->updateAndRedrawScheduledViews();
|
||||
|
||||
m_viewer->repaint();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user