Skip to content
Snippets Groups Projects
Commit 05157c99 authored by Aimee Linden's avatar Aimee Linden
Browse files

EXT-7138 WIP Voice Morphing

Updated "Preview Voice Morphing" and "Get Voice Morphing" items in the Voice Effect combo
parent 2e79f841
No related branches found
No related tags found
No related merge requests found
...@@ -90,16 +90,16 @@ void LLPanelVoiceEffect::onCommitVoiceEffect() ...@@ -90,16 +90,16 @@ void LLPanelVoiceEffect::onCommitVoiceEffect()
} }
LLSD value = mVoiceEffectCombo->getValue(); LLSD value = mVoiceEffectCombo->getValue();
if (value.asInteger() == GET_VOICE_EFFECTS) if (value.asInteger() == PREVIEW_VOICE_EFFECTS)
{
// Open the voice morphing info web page
LLWeb::loadURL(getString("get_voice_effects_url"));
}
else if (value.asInteger() == PREVIEW_VOICE_EFFECTS)
{ {
// Open the voice effects management floater // Open the voice effects management floater
LLFloaterReg::showInstance("voice_effect"); LLFloaterReg::showInstance("voice_effect");
} }
else if (value.asInteger() == GET_VOICE_EFFECTS)
{
// Open the voice morphing info web page
LLWeb::loadURL(getString("get_voice_effects_url"));
}
else else
{ {
effect_interface->setVoiceEffect(value.asUUID()); effect_interface->setVoiceEffect(value.asUUID());
...@@ -140,8 +140,8 @@ void LLPanelVoiceEffect::update() ...@@ -140,8 +140,8 @@ void LLPanelVoiceEffect::update()
mVoiceEffectCombo->addSeparator(); mVoiceEffectCombo->addSeparator();
} }
mVoiceEffectCombo->add(getString("get_voice_effects"), GET_VOICE_EFFECTS);
mVoiceEffectCombo->add(getString("preview_voice_effects"), PREVIEW_VOICE_EFFECTS); mVoiceEffectCombo->add(getString("preview_voice_effects"), PREVIEW_VOICE_EFFECTS);
mVoiceEffectCombo->add(getString("get_voice_effects"), GET_VOICE_EFFECTS);
mVoiceEffectCombo->setValue(effect_interface->getVoiceEffect()); mVoiceEffectCombo->setValue(effect_interface->getVoiceEffect());
mVoiceEffectCombo->setEnabled(true); mVoiceEffectCombo->setEnabled(true);
......
...@@ -62,8 +62,8 @@ private: ...@@ -62,8 +62,8 @@ private:
typedef enum e_voice_effect_combo_items typedef enum e_voice_effect_combo_items
{ {
NO_VOICE_EFFECT = 0, NO_VOICE_EFFECT = 0,
GET_VOICE_EFFECTS = 1, PREVIEW_VOICE_EFFECTS = 1,
PREVIEW_VOICE_EFFECTS = 2 GET_VOICE_EFFECTS = 2
} EVoiceEffectComboItems; } EVoiceEffectComboItems;
LLComboBox* mVoiceEffectCombo; LLComboBox* mVoiceEffectCombo;
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
height="465" height="465"
name="voice_effects" name="voice_effects"
help_topic="voice_effects" help_topic="voice_effects"
title="VOICE EFFECTS" title="PREVIEW VOICE MORPHING"
background_visible="true" background_visible="true"
follows="all" follows="all"
label="Places" label="Places"
......
...@@ -11,11 +11,11 @@ ...@@ -11,11 +11,11 @@
<string name="get_voice_effects_url"> <string name="get_voice_effects_url">
http://secondlife.com/landing/v0icem0rphingt3st http://secondlife.com/landing/v0icem0rphingt3st
</string> </string>
<string name="get_voice_effects">
Add voice effects ▶
</string>
<string name="preview_voice_effects"> <string name="preview_voice_effects">
Preview ▶ Preview Voice Morphing ▶
</string>
<string name="get_voice_effects">
Get Voice Morphing ▶
</string> </string>
<combo_box <combo_box
enabled="false" enabled="false"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment