diff options
author | AndreyL ProductEngine <andreylproductengine@lindenlab.com> | 2015-05-26 07:27:36 +0300 |
---|---|---|
committer | AndreyL ProductEngine <andreylproductengine@lindenlab.com> | 2015-05-26 07:27:36 +0300 |
commit | 5c7b29920e8ed409e7c8d87e52a1d0f35b2a14b2 (patch) | |
tree | 676b73f54dc597c86640ea4a2e8a0a312f709cb6 /indra/newview/llfloatersnapshot.cpp | |
parent | 394952e4769d343773989dfbb3f5237f71cacf5a (diff) |
MAINT-5096 FIXED Camming is broken in freeze frame mode once snapshot is refreshed...
Fix for freezing by ticking the "Freeze frame" checkbox
Diffstat (limited to 'indra/newview/llfloatersnapshot.cpp')
-rwxr-xr-x | indra/newview/llfloatersnapshot.cpp | 8 |
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); } |