#7382 Advanced snapshot export : Issue processEvents before snapshots

This commit is contained in:
Magne Sjaastad 2021-02-17 15:31:51 +01:00
parent a86d0489ac
commit 03305eaaa4

View File

@ -257,6 +257,7 @@ void RicAdvancedSnapshotExportFeature::exportViewVariationsToFolder( RimGridView
QString absoluteFileName = caf::Utils::constructFullFileName( folder, fileName, ".png" );
QApplication::processEvents();
RicSnapshotViewToFileFeature::saveSnapshotAs( absoluteFileName, rimView );
}
else
@ -293,6 +294,7 @@ void RicAdvancedSnapshotExportFeature::exportViewVariationsToFolder( RimGridView
QString absoluteFileName = caf::Utils::constructFullFileName( folder, fileName, ".png" );
QApplication::processEvents();
RicSnapshotViewToFileFeature::saveSnapshotAs( absoluteFileName, rimView );
}