#1730 Include more information in snapshot filenames

This commit is contained in:
Bjørnar Grip Fjær
2017-08-04 11:25:17 +02:00
parent 88186619db
commit 37456bfa9b
11 changed files with 375 additions and 78 deletions

View File

@@ -58,6 +58,8 @@
#include "cafSelectionManager.h"
#include "cafUtils.h"
#include "ExportCommands/RicSnapshotAllViewsToFileFeature.h"
#include "cvfTimer.h"
#include <QAction>
@@ -1271,7 +1273,7 @@ void RiuMainWindow::slotSnapshotAllViewsToFile()
// Save images in snapshot catalog relative to project directory
QString absolutePathToSnapshotDir = app->createAbsolutePathFromProjectRelativePath("snapshots");
app->saveSnapshotForAllViews(absolutePathToSnapshotDir);
RicSnapshotAllViewsToFileFeature::exportSnapshotOfAllViewsIntoFolder(absolutePathToSnapshotDir);
}
//--------------------------------------------------------------------------------------------------