Revert "This probably won't fix the active voice list issue"
This reverts commit 466f901105.
This commit is contained in:
@@ -1020,10 +1020,11 @@ LLActiveSpeakerMgr::LLActiveSpeakerMgr() : LLSpeakerMgr(NULL)
|
|||||||
void LLActiveSpeakerMgr::updateSpeakerList()
|
void LLActiveSpeakerMgr::updateSpeakerList()
|
||||||
{
|
{
|
||||||
// point to whatever the current voice channel is
|
// point to whatever the current voice channel is
|
||||||
|
const auto old_channel = mVoiceChannel;
|
||||||
mVoiceChannel = LLVoiceChannel::getCurrentVoiceChannel();
|
mVoiceChannel = LLVoiceChannel::getCurrentVoiceChannel();
|
||||||
|
|
||||||
// always populate from active voice channel
|
// always populate from active voice channel
|
||||||
if (LLVoiceChannel::getCurrentVoiceChannel() != mVoiceChannel) //MA: seems this is always false
|
if (mVoiceChannel != old_channel) //Singu Note: Don't let this always be false.
|
||||||
{
|
{
|
||||||
LL_DEBUGS("Speakers") << "Removed all speakers" << LL_ENDL;
|
LL_DEBUGS("Speakers") << "Removed all speakers" << LL_ENDL;
|
||||||
fireEvent(new LLSpeakerListChangeEvent(this, LLUUID::null), "clear");
|
fireEvent(new LLSpeakerListChangeEvent(this, LLUUID::null), "clear");
|
||||||
|
|||||||
Reference in New Issue
Block a user