History

Allow users to take a snapshot from the secondary camera

Zach Fox committed 9 years ago

Commit ecd1f131 parent 714027d9 files · +32 −0Browse files

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

Unified · Split

interface/src/scripting/WindowScriptingInterface.cpp+4−0
@@ -294,6 +294,10 @@ void WindowScriptingInterface::takeSnapshot(bool notify, bool includeAnimated, f · 293 unmodified lines
294 qApp->takeSnapshot(notify, includeAnimated, aspectRatio);294 qApp->takeSnapshot(notify, includeAnimated, aspectRatio);
295}295}
296 296
297void WindowScriptingInterface::takeSecondaryCameraSnapshot() {
298 qApp->takeSecondaryCameraSnapshot();
299}
300
297void WindowScriptingInterface::shareSnapshot(const QString& path, const QUrl& href) {301void WindowScriptingInterface::shareSnapshot(const QString& path, const QUrl& href) {
298 qApp->shareSnapshot(path, href);302 qApp->shareSnapshot(path, href);
299}303}