summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2010-04-30 17:54:38 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2010-04-30 17:54:38 -0400
commit29740b0e3dee7f124cc8790ec5f1e444b3bcda79 (patch)
tree3cfa08247dadcdc669f37a888c7f7d92758d944e /indra/newview
parente9effbe73a995b7356ae711a3406f253a779005f (diff)
For EXT-6953: Evaluate and implement Richard's improved default animations. Diagnostic info.
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llvoavatar.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index 05583c0944..e9de29ff56 100644
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -95,6 +95,11 @@
#include "llvoiceclient.h"
#include "llvoicevisualizer.h" // Ventrella
+#include "lldebugmessagebox.h"
+extern F32 SPEED_ADJUST_MAX;
+extern F32 SPEED_ADJUST_MAX_SEC;
+extern F32 ANIM_SPEED_MAX;
+
#if LL_MSVC
// disable boost::lexical_cast warning
#pragma warning (disable:4702)
@@ -3031,6 +3036,13 @@ void LLVOAvatar::slamPosition()
//------------------------------------------------------------------------
BOOL LLVOAvatar::updateCharacter(LLAgent &agent)
{
+ if (!LLApp::isExiting())
+ {
+ LLDebugVarMessageBox::show("Adj Max", &SPEED_ADJUST_MAX, 5.0f, 0.1f);
+ LLDebugVarMessageBox::show("Adj Max Sec", &SPEED_ADJUST_MAX_SEC, 5.0f, 0.1f);
+ LLDebugVarMessageBox::show("Anim Max", &ANIM_SPEED_MAX, 10.0f, 0.1f);
+ }
+
LLMemType mt(LLMemType::MTYPE_AVATAR);
// clear debug text