diff options
author | Merov Linden <merov@lindenlab.com> | 2014-01-28 19:35:39 -0800 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2014-01-28 19:35:39 -0800 |
commit | b4405c5388d1d9f562d6450092ca55cdea4c94a3 (patch) | |
tree | eaa31fb7e63f77bd45651e558dfb840dbffe4604 /indra/newview/llfloaterfacebook.cpp | |
parent | f7a90c680a007775efe0f8556c6712a08e489aab (diff) |
ACME-1282 : Prevent rendering of UI in SL Share snapshots
Diffstat (limited to 'indra/newview/llfloaterfacebook.cpp')
-rw-r--r-- | indra/newview/llfloaterfacebook.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llfloaterfacebook.cpp b/indra/newview/llfloaterfacebook.cpp index f86b6d580a..2b3afb7b18 100644 --- a/indra/newview/llfloaterfacebook.cpp +++ b/indra/newview/llfloaterfacebook.cpp @@ -313,6 +313,7 @@ void LLFacebookPhotoPanel::onVisibilityChange(const LLSD& new_visibility) previewp->setSnapshotFormat(LLFloaterSnapshot::SNAPSHOT_FORMAT_JPEG); previewp->setSnapshotQuality(mQuality, false); previewp->setThumbnailSubsampled(TRUE); // We want the preview to reflect the *saved* image + previewp->setAllowRenderUI(FALSE); // We do not want the rendered UI in our snapshots previewp->setThumbnailPlaceholderRect(mThumbnailPlaceholder->getRect()); updateControls(); |