History

MS15529: Add secondary camera snapshot notification flag

Zach Fox committed 8 years ago

Commit 96858c91 parent ed8d1256 files · +28 −18Browse files

Showing the changes to interface/src/scripting/WindowScriptingInterface.cpp (1 of 6 files). Show all

Unified · Split

interface/src/scripting/WindowScriptingInterface.cpp+4−4
@@ -446,12 +446,12 @@ void WindowScriptingInterface::takeSnapshot(bool notify, bool includeAnimated, f · 445 unmodified lines
446 qApp->takeSnapshot(notify, includeAnimated, aspectRatio, filename);446 qApp->takeSnapshot(notify, includeAnimated, aspectRatio, filename);
447}447}
448 448
449void WindowScriptingInterface::takeSecondaryCameraSnapshot(const QString& filename) {449void WindowScriptingInterface::takeSecondaryCameraSnapshot(const bool& notify, const QString& filename) {
450 qApp->takeSecondaryCameraSnapshot(filename);450 qApp->takeSecondaryCameraSnapshot(notify, filename);
451}451}
452 452
453void WindowScriptingInterface::takeSecondaryCamera360Snapshot(const glm::vec3& cameraPosition, const bool& cubemapOutputFormat, const QString& filename) {453void WindowScriptingInterface::takeSecondaryCamera360Snapshot(const glm::vec3& cameraPosition, const bool& cubemapOutputFormat, const bool& notify, const QString& filename) {
454 qApp->takeSecondaryCamera360Snapshot(cameraPosition, cubemapOutputFormat, filename);454 qApp->takeSecondaryCamera360Snapshot(cameraPosition, cubemapOutputFormat, notify, filename);
455}455}
456 456
457void WindowScriptingInterface::shareSnapshot(const QString& path, const QUrl& href) {457void WindowScriptingInterface::shareSnapshot(const QString& path, const QUrl& href) {