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/llfloatertwitter.cpp | |
parent | f7a90c680a007775efe0f8556c6712a08e489aab (diff) |
ACME-1282 : Prevent rendering of UI in SL Share snapshots
Diffstat (limited to 'indra/newview/llfloatertwitter.cpp')
-rw-r--r-- | indra/newview/llfloatertwitter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llfloatertwitter.cpp b/indra/newview/llfloatertwitter.cpp index 0b20b77c19..09821a2593 100644 --- a/indra/newview/llfloatertwitter.cpp +++ b/indra/newview/llfloatertwitter.cpp @@ -204,6 +204,7 @@ void LLTwitterPhotoPanel::onVisibilityChange(const LLSD& new_visibility) previewp->setSnapshotType(previewp->SNAPSHOT_WEB); previewp->setSnapshotFormat(LLFloaterSnapshot::SNAPSHOT_FORMAT_JPEG); 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(); |