aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfirstuse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llfirstuse.cpp')
-rw-r--r--linden/indra/newview/llfirstuse.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/linden/indra/newview/llfirstuse.cpp b/linden/indra/newview/llfirstuse.cpp
index 1ddac8e..b6bd444 100644
--- a/linden/indra/newview/llfirstuse.cpp
+++ b/linden/indra/newview/llfirstuse.cpp
@@ -35,6 +35,7 @@
35 35
36// viewer includes 36// viewer includes
37#include "llnotify.h" 37#include "llnotify.h"
38#include "llfloatervoicewizard.h"
38#include "llviewercontrol.h" 39#include "llviewercontrol.h"
39#include "llui.h" 40#include "llui.h"
40#include "viewer.h" 41#include "viewer.h"
@@ -248,3 +249,15 @@ void LLFirstUse::useSculptedPrim()
248 249
249 } 250 }
250} 251}
252
253// static
254void LLFirstUse::useVoice()
255{
256 if (gDisableVoice) return;
257 if (gSavedSettings.getWarning("FirstVoice"))
258 {
259 gSavedSettings.setWarning("FirstVoice", FALSE);
260
261 LLFloaterVoiceWizard::showInstance();
262 }
263}