summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatersnapshot.cpp
diff options
context:
space:
mode:
authorAura Linden <aura@lindenlab.com>2015-10-13 16:44:20 -0700
committerAura Linden <aura@lindenlab.com>2015-10-13 16:44:20 -0700
commit2f6166a5a4f8d5be679cef0699142c4ef061fb55 (patch)
treef45efe7e4c55c37dc097f15f8e0f445d86bfe972 /indra/newview/llfloatersnapshot.cpp
parent8729f5d23a52263e55df5574c672c87d00b563bd (diff)
parenta16a6034c25c5e78331ef1bd13485df8759456e5 (diff)
Pulled merge from llinternal/bento-box.
Diffstat (limited to 'indra/newview/llfloatersnapshot.cpp')
-rwxr-xr-xindra/newview/llfloatersnapshot.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/indra/newview/llfloatersnapshot.cpp b/indra/newview/llfloatersnapshot.cpp
index 16fa4684ab..afec981d56 100755
--- a/indra/newview/llfloatersnapshot.cpp
+++ b/indra/newview/llfloatersnapshot.cpp
@@ -663,14 +663,20 @@ void LLFloaterSnapshot::Impl::onCommitFreezeFrame(LLUICtrl* ctrl, void* data)
{
LLCheckBoxCtrl* check_box = (LLCheckBoxCtrl*)ctrl;
LLFloaterSnapshot *view = (LLFloaterSnapshot *)data;
+ LLSnapshotLivePreview* previewp = getPreviewView(view);
- if (!view || !check_box)
+ if (!view || !check_box || !previewp)
{
return;
}
gSavedSettings.setBOOL("UseFreezeFrame", check_box->get());
+ if (check_box->get())
+ {
+ previewp->prepareFreezeFrame();
+ }
+
updateLayout(view);
}