From 2e3e0f10f1016456acf77c19384afb336cf5e92d Mon Sep 17 00:00:00 2001 From: Ansariel Date: Mon, 1 Mar 2021 23:47:44 +0100 Subject: [PATCH] FIRE-22570: Actually invert the "enable to disable" behavior --- indra/newview/app_settings/settings.xml | 8 ++++---- indra/newview/llvoicevisualizer.cpp | 4 ++-- .../skins/default/xui/de/panel_preferences_sound.xml | 6 +++--- .../skins/default/xui/en/panel_preferences_sound.xml | 8 ++++---- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml index d45af63ace..58dfcf89eb 100644 --- a/indra/newview/app_settings/settings.xml +++ b/indra/newview/app_settings/settings.xml @@ -22429,7 +22429,7 @@ Change of this parameter will affect the layout of buttons in notification toast FSShowVoiceVisualizer Comment - Hides the voice dot over avatars if disabled. + Shows the voice visualizer over avatars if enabled. Persist 1 Type @@ -22448,16 +22448,16 @@ Change of this parameter will affect the layout of buttons in notification toast Value 1 - FSShowVoiceVisualizerAsWavesOnly + FSShowVoiceVisualizerWithDot Comment - Hides the voice dot over avatars and shows only voice waves. + Shows the voice dot over avatars as part of the voice visualizer. Persist 1 Type Boolean Value - 0 + 1 FSSelectIncludeGroupOwned diff --git a/indra/newview/llvoicevisualizer.cpp b/indra/newview/llvoicevisualizer.cpp index 6a926dcd18..baa148acc6 100644 --- a/indra/newview/llvoicevisualizer.cpp +++ b/indra/newview/llvoicevisualizer.cpp @@ -376,8 +376,8 @@ void LLVoiceVisualizer::render() gGL.getTexUnit(0)->bind(mSoundSymbol.mTexture[0]); // FIRE-22570: Option to show visualizers as waves without the dot - static LLCachedControl fsShowVoiceVisualizerAsWavesOnly(gSavedSettings, "FSShowVoiceVisualizerAsWavesOnly"); - if (!fsShowVoiceVisualizerAsWavesOnly) + static LLCachedControl fsShowVoiceVisualizerWithDot(gSavedSettings, "FSShowVoiceVisualizerWithDot"); + if (fsShowVoiceVisualizerWithDot) { // diff --git a/indra/newview/skins/default/xui/de/panel_preferences_sound.xml b/indra/newview/skins/default/xui/de/panel_preferences_sound.xml index 2bbf54f8ff..f85d2d0ba8 100644 --- a/indra/newview/skins/default/xui/de/panel_preferences_sound.xml +++ b/indra/newview/skins/default/xui/de/panel_preferences_sound.xml @@ -113,10 +113,10 @@ - + - - + + diff --git a/indra/newview/skins/default/xui/en/panel_preferences_sound.xml b/indra/newview/skins/default/xui/en/panel_preferences_sound.xml index 92de233754..105708c838 100644 --- a/indra/newview/skins/default/xui/en/panel_preferences_sound.xml +++ b/indra/newview/skins/default/xui/en/panel_preferences_sound.xml @@ -963,14 +963,14 @@ width="237"/>