From d85464bb3304a112f1dd766428889a919c5715e2 Mon Sep 17 00:00:00 2001 From: Aimee Linden Date: Mon, 24 May 2010 16:21:56 +0100 Subject: EXT-7138 WIP Don't rebuild the voice effect combo list every time a different effect is selected. Added a notification on receiving new voice effects. --- indra/newview/llvoicevivox.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'indra/newview/llvoicevivox.cpp') diff --git a/indra/newview/llvoicevivox.cpp b/indra/newview/llvoicevivox.cpp index 070e4f0d2d..17f4b661be 100644 --- a/indra/newview/llvoicevivox.cpp +++ b/indra/newview/llvoicevivox.cpp @@ -6857,6 +6857,13 @@ void LLVivoxVoiceClient::accountGetSessionFontsResponse(int statusCode, const st } mVoiceFontsReceived = true; + // If new Voice Fonts have been found notify the user. + if (mVoiceFontsNew) + { + LLNotificationsUtil::add("VoiceEffectsNew"); + mVoiceFontsNew = false; + } + notifyVoiceFontObservers(true); } -- cgit v1.2.3