summaryrefslogtreecommitdiff
path: root/indra/newview/llagent.cpp
diff options
context:
space:
mode:
authorRick Pasetto <rick@lindenlab.com>2010-02-10 14:28:46 -0800
committerRick Pasetto <rick@lindenlab.com>2010-02-10 14:28:46 -0800
commitc680368e19f5be7265e2f15a1f4b626b1600e773 (patch)
tree8a38590b168d8b65e2d185ba76ada2de17d4b2e0 /indra/newview/llagent.cpp
parent3aa7e1b0c10fcb660cfc13308dd2a45223696e11 (diff)
EXT-5261 EXT-5263 EXT-5265 EXT-5266 EXT-5271 - Reformat NMF and enable behavior of media toggle in chrome
Review #100 http://10.1.19.90:8080/go?page=ReviewDisplay&reviewid=100 This encompasses the first of the behavioral and structural changes for the Nearby Media Floater and the chrome button at the top of the UI. It includes: - Removal of the Parcel Media and Parcel Audio UI. Still not in the list yet. - New More/Less button, which doesn't quite work right (see below) - Changed icon for UI chrome - Enabled "turning on" and "turning off" media from the chrome and NMF - Added gear icon to bring up prefs - XUI changes to the structure of NMF - Implementation of the "tentative" autoplay flag This is basically a checkpoint so that Richard can help with the More/Less implementation
Diffstat (limited to 'indra/newview/llagent.cpp')
-rw-r--r--indra/newview/llagent.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp
index 2354323a66..f1eb942b52 100644
--- a/indra/newview/llagent.cpp
+++ b/indra/newview/llagent.cpp
@@ -5981,6 +5981,11 @@ bool LLAgent::teleportCore(bool is_local)
// This was breaking the case of teleporting within a single sim. Backing it out for now.
// gVoiceClient->leaveChannel();
+ // Clear the "tentative" autoplay flag (i.e. set it to true)
+ // XXX: Do we also want to re-enable all media, because we might teleport
+ // somewhere where that media would still exist?
+ gSavedSettings.setBOOL("MediaTentativeAutoPlay", true);
+
return true;
}