summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorandreykproductengine <akleshchev@productengine.com>2014-11-12 18:22:50 +0200
committerandreykproductengine <akleshchev@productengine.com>2014-11-12 18:22:50 +0200
commit01b8f09c197cb0309a74d8e7cb8c5299dff5f3a5 (patch)
tree5be626eb39b85c2814cdac473aa27590e16353ac /indra
parente0425400ed151df2e9ccd4e2961e0d060695bd91 (diff)
MAINT-4660 FIXED making Photos
Diffstat (limited to 'indra')
-rwxr-xr-xindra/newview/llfloatersnapshot.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/indra/newview/llfloatersnapshot.cpp b/indra/newview/llfloatersnapshot.cpp
index 04329ff66e..43f6576dc9 100755
--- a/indra/newview/llfloatersnapshot.cpp
+++ b/indra/newview/llfloatersnapshot.cpp
@@ -1193,6 +1193,22 @@ void LLFloaterSnapshot::onOpen(const LLSD& key)
void LLFloaterSnapshot::onClose(bool app_quitting)
{
getParent()->setMouseOpaque(FALSE);
+
+ //unfreeze everything, hide fullscreen preview
+ LLSnapshotLivePreview* previewp = LLFloaterSnapshot::Impl::getPreviewView(this);
+ if (previewp)
+ {
+ previewp->setVisible(FALSE);
+ previewp->setEnabled(FALSE);
+ }
+
+ gSavedSettings.setBOOL("FreezeTime", FALSE);
+ impl.mAvatarPauseHandles.clear();
+
+ if (impl.mLastToolset)
+ {
+ LLToolMgr::getInstance()->setCurrentToolset(impl.mLastToolset);
+ }
}
// virtual