aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfirstuse.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:04 -0500
committerJacek Antonelli2008-08-15 23:45:04 -0500
commit117e22047c5752352342d64e3fb7ce00a4eb8113 (patch)
treee32de2cfba0dda8705ae528fcd1fbe23ba075685 /linden/indra/newview/llfirstuse.cpp
parentSecond Life viewer sources 1.18.0.6 (diff)
downloadmeta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.zip
meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.gz
meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.bz2
meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.xz
Second Life viewer sources 1.18.1.2
Diffstat (limited to '')
-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}