summaryrefslogtreecommitdiff
path: root/indra/newview/llfirstuse.cpp
diff options
context:
space:
mode:
authorKelly Washington <kelly@lindenlab.com>2007-06-21 22:40:22 +0000
committerKelly Washington <kelly@lindenlab.com>2007-06-21 22:40:22 +0000
commite03bb0606a10f29c8b94909a713a5bb5c69e88b7 (patch)
tree6d8d07894579438c8cc70e08f5730c3c95dfe768 /indra/newview/llfirstuse.cpp
parent2638f12f95eea692502836cf6548b4a0b234d009 (diff)
merge -r62831:64079 branches/maintenance to release
Diffstat (limited to 'indra/newview/llfirstuse.cpp')
-rw-r--r--indra/newview/llfirstuse.cpp34
1 files changed, 34 insertions, 0 deletions
diff --git a/indra/newview/llfirstuse.cpp b/indra/newview/llfirstuse.cpp
index 4a4e1a9ed4..9f05e59ac8 100644
--- a/indra/newview/llfirstuse.cpp
+++ b/indra/newview/llfirstuse.cpp
@@ -40,6 +40,18 @@ void LLFirstUse::disableFirstUse()
}
}
+// static
+void LLFirstUse::resetFirstUse()
+{
+ // Set all first-use warnings to disabled
+ for (std::set<LLString>::iterator iter = sConfigVariables.begin();
+ iter != sConfigVariables.end(); ++iter)
+ {
+ gSavedSettings.setWarning(*iter, TRUE);
+ }
+}
+
+
// Called whenever the viewer detects that your balance went up
void LLFirstUse::useBalanceIncrease(S32 delta)
{
@@ -194,3 +206,25 @@ void LLFirstUse::useFlexible()
}
}
+// static
+void LLFirstUse::useDebugMenus()
+{
+ if (gSavedSettings.getWarning("FirstDebugMenus"))
+ {
+ gSavedSettings.setWarning("FirstDebugMenus", FALSE);
+
+ LLNotifyBox::showXml("FirstDebugMenus");
+ }
+}
+
+// static
+void LLFirstUse::useSculptedPrim()
+{
+ if (gSavedSettings.getWarning("FirstSculptedPrim"))
+ {
+ gSavedSettings.setWarning("FirstSculptedPrim", FALSE);
+
+ LLNotifyBox::showXml("FirstSculptedPrim");
+
+ }
+}