summaryrefslogtreecommitdiff
path: root/indra/newview/llfirstuse.cpp
diff options
context:
space:
mode:
authorSteven Bennetts <steve@lindenlab.com>2008-06-06 22:43:38 +0000
committerSteven Bennetts <steve@lindenlab.com>2008-06-06 22:43:38 +0000
commitad332810078a0bbb8fa08fcbfdf3d756de6914f6 (patch)
tree1608b2db5d620d323673607ea7ddadfba9d58bda /indra/newview/llfirstuse.cpp
parenta7d9a543e587ffe84b355db7a2e8193bfe6c68b6 (diff)
QAR-650 - Viewer RC 9 merge -> release (post cmake)
merge release@88802 Branch_1-20-Viewer-2-merge-1@89178 -> release
Diffstat (limited to 'indra/newview/llfirstuse.cpp')
-rw-r--r--indra/newview/llfirstuse.cpp26
1 files changed, 17 insertions, 9 deletions
diff --git a/indra/newview/llfirstuse.cpp b/indra/newview/llfirstuse.cpp
index c07319e224..3cd1158ec0 100644
--- a/indra/newview/llfirstuse.cpp
+++ b/indra/newview/llfirstuse.cpp
@@ -37,6 +37,7 @@
#include "indra_constants.h"
// viewer includes
+#include "llagent.h" // for gAgent.inPrelude()
#include "llnotify.h"
#include "llviewercontrol.h"
#include "llui.h"
@@ -107,12 +108,14 @@ void LLFirstUse::useBalanceDecrease(S32 delta)
// static
void LLFirstUse::useSit()
{
- if (gSavedSettings.getWarning("FirstSit"))
- {
- gSavedSettings.setWarning("FirstSit", FALSE);
-
- LLNotifyBox::showXml("FirstSit");
- }
+ // Our orientation island uses sitting to teach vehicle driving
+ // so just never show this message. JC
+ //if (gSavedSettings.getWarning("FirstSit"))
+ //{
+ // gSavedSettings.setWarning("FirstSit", FALSE);
+
+ // LLNotifyBox::showXml("FirstSit");
+ //}
}
// static
@@ -168,11 +171,16 @@ void LLFirstUse::useTeleport()
// static
void LLFirstUse::useOverrideKeys()
{
- if (gSavedSettings.getWarning("FirstOverrideKeys"))
+ // Our orientation island uses key overrides to teach vehicle driving
+ // so don't show this message until you get off OI. JC
+ if (!gAgent.inPrelude())
{
- gSavedSettings.setWarning("FirstOverrideKeys", FALSE);
+ if (gSavedSettings.getWarning("FirstOverrideKeys"))
+ {
+ gSavedSettings.setWarning("FirstOverrideKeys", FALSE);
- LLNotifyBox::showXml("FirstOverrideKeys");
+ LLNotifyBox::showXml("FirstOverrideKeys");
+ }
}
}