summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatertwitter.cpp
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2014-02-03 14:57:56 -0800
committerMerov Linden <merov@lindenlab.com>2014-02-03 14:57:56 -0800
commit9099cddb553bf9a2239bba86e6f1135bca76ed8b (patch)
tree3cab26fd2f02126b96a86e2e7a2a2f3f6d88c9e7 /indra/newview/llfloatertwitter.cpp
parent009449126a350f60dd90da9879247ceacb99936f (diff)
ACME-1295 : Implement an mAllowFullScreenPreview flag in snapshot
Diffstat (limited to 'indra/newview/llfloatertwitter.cpp')
-rw-r--r--indra/newview/llfloatertwitter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llfloatertwitter.cpp b/indra/newview/llfloatertwitter.cpp
index ffe2609972..08b0cb6097 100644
--- a/indra/newview/llfloatertwitter.cpp
+++ b/indra/newview/llfloatertwitter.cpp
@@ -236,6 +236,7 @@ void LLTwitterPhotoPanel::onVisibilityChange(const LLSD& new_visibility)
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->setAllowFullScreenPreview(FALSE); // No full screen preview in SL Share mode
previewp->setThumbnailPlaceholderRect(mThumbnailPlaceholder->getRect());
updateControls();