Replace FSShowVoiceVisualizer with new LL setting VoiceVisualizerEnabled
parent
ef39bd37fa
commit
7b71acf77c
|
|
@ -22317,17 +22317,6 @@ Change of this parameter will affect the layout of buttons in notification toast
|
|||
<integer>1</integer>
|
||||
</map>
|
||||
<!-- End: Prefs > Sound/Media => UI Sounds -->
|
||||
<key>FSShowVoiceVisualizer</key>
|
||||
<map>
|
||||
<key>Comment</key>
|
||||
<string>Shows the voice visualizer over avatars if enabled.</string>
|
||||
<key>Persist</key>
|
||||
<integer>1</integer>
|
||||
<key>Type</key>
|
||||
<string>Boolean</string>
|
||||
<key>Value</key>
|
||||
<integer>1</integer>
|
||||
</map>
|
||||
<key>FSShowMyOwnVoiceVisualizer</key>
|
||||
<map>
|
||||
<key>Comment</key>
|
||||
|
|
|
|||
|
|
@ -2956,8 +2956,8 @@ void LLVOAvatar::idleUpdateVoiceVisualizer(bool voice_enabled, const LLVector3 &
|
|||
}
|
||||
|
||||
// <FS:Ansariel> FIRE-1916: Hide voice dots over avatars
|
||||
static LLCachedControl<bool> fsShowVoiceVisualizer(gSavedSettings, "FSShowVoiceVisualizer");
|
||||
if (!fsShowVoiceVisualizer)
|
||||
static LLCachedControl<bool> voiceVisualizerEnabled(gSavedSettings, "VoiceVisualizerEnabled");
|
||||
if (!voiceVisualizerEnabled)
|
||||
{
|
||||
render_visualizer = false;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -973,7 +973,7 @@
|
|||
width="237"/>
|
||||
<check_box
|
||||
enabled_control="EnableVoiceChat"
|
||||
control_name="FSShowVoiceVisualizer"
|
||||
control_name="VoiceVisualizerEnabled"
|
||||
follows="left|top"
|
||||
height="15"
|
||||
label="Show voice visualizers over avatars"
|
||||
|
|
|
|||
Loading…
Reference in New Issue