mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 04:13:32 +02:00
WL 21665 - Window.takeSecondaryCameraSnapshot() should emit a stillSnapshotTaken signal
This commit is contained in:
parent
c33c637f07
commit
38afc5a25b
1 changed files with 2 additions and 1 deletions
|
@ -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<WindowScriptingInterface>()->stillSnapshotTaken(snapshotPath, true);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue