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
294294 qApp->takeSnapshot(notify, includeAnimated, aspectRatio);
295295 }
296296
297+void WindowScriptingInterface::takeSecondaryCameraSnapshot() {
298+ qApp->takeSecondaryCameraSnapshot();
299+}
300+
297301 void WindowScriptingInterface::shareSnapshot(const QString& path, const QUrl& href) {
298302 qApp->shareSnapshot(path, href);
299303 }