aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloateractivespeakers.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llfloateractivespeakers.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/linden/indra/newview/llfloateractivespeakers.cpp b/linden/indra/newview/llfloateractivespeakers.cpp
index 2352be3..bee6155 100644
--- a/linden/indra/newview/llfloateractivespeakers.cpp
+++ b/linden/indra/newview/llfloateractivespeakers.cpp
@@ -47,6 +47,7 @@
47#include "llsdutil.h" 47#include "llsdutil.h"
48#include "llimview.h" 48#include "llimview.h"
49#include "llviewerwindow.h" 49#include "llviewerwindow.h"
50#include "llappviewer.h"
50 51
51const F32 SPEAKER_TIMEOUT = 10.f; // seconds of not being on voice channel before removed from list of active speakers 52const F32 SPEAKER_TIMEOUT = 10.f; // seconds of not being on voice channel before removed from list of active speakers
52const F32 RESORT_TIMEOUT = 5.f; // seconds of mouse inactivity before it's ok to sort regardless of mouse-in-view. 53const F32 RESORT_TIMEOUT = 5.f; // seconds of mouse inactivity before it's ok to sort regardless of mouse-in-view.
@@ -1358,6 +1359,11 @@ void LLLocalSpeakerMgr::updateSpeakerList()
1358 // pull speakers from voice channel 1359 // pull speakers from voice channel
1359 LLSpeakerMgr::updateSpeakerList(); 1360 LLSpeakerMgr::updateSpeakerList();
1360 1361
1362 if (gDisconnected)//the world is cleared.
1363 {
1364 return ;
1365 }
1366
1361 // add non-voice speakers in chat range 1367 // add non-voice speakers in chat range
1362 std::vector< LLCharacter* >::iterator avatar_it; 1368 std::vector< LLCharacter* >::iterator avatar_it;
1363 for(avatar_it = LLCharacter::sInstances.begin(); avatar_it != LLCharacter::sInstances.end(); ++avatar_it) 1369 for(avatar_it = LLCharacter::sInstances.begin(); avatar_it != LLCharacter::sInstances.end(); ++avatar_it)