From 38afc5a25bc5cbc4cbeb3a7e06275531ec2fdc35 Mon Sep 17 00:00:00 2001 From: Cain Kilgore Date: Wed, 10 Jan 2018 11:31:46 +0000 Subject: [PATCH] WL 21665 - Window.takeSecondaryCameraSnapshot() should emit a stillSnapshotTaken signal --- interface/src/Application.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index 6988585889..fd85a631d8 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -6788,7 +6788,8 @@ void Application::takeSnapshot(bool notify, bool includeAnimated, float aspectRa void Application::takeSecondaryCameraSnapshot() { postLambdaEvent([this] { - Snapshot::saveSnapshot(getActiveDisplayPlugin()->getSecondaryCameraScreenshot()); + QString snapshotPath = Snapshot::saveSnapshot(getActiveDisplayPlugin()->getSecondaryCameraScreenshot()); + emit DependencyManager::get()->stillSnapshotTaken(snapshotPath, true); }); }