diff options
author | Richard Linden <none@none> | 2013-03-25 00:18:06 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2013-03-25 00:18:06 -0700 |
commit | 935dce7d6b0a343cef5b13f53d6da5d0c2dc6a73 (patch) | |
tree | 1517fc3ea00f29a5c64050cb4fc756dec30caf63 /indra/newview/llfloaterjoystick.cpp | |
parent | 68f9f656cd22332e46959a90347e38f79c19a66c (diff) |
SH-3931 WIP Interesting: Add graphs to visualize scene load metrics
fixed some compile errors
made label spacing automatic on stat bars
fixed infinite values coming from stats
Diffstat (limited to 'indra/newview/llfloaterjoystick.cpp')
-rw-r--r-- | indra/newview/llfloaterjoystick.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llfloaterjoystick.cpp b/indra/newview/llfloaterjoystick.cpp index 7fcebc965a..dbdf3e5e9f 100644 --- a/indra/newview/llfloaterjoystick.cpp +++ b/indra/newview/llfloaterjoystick.cpp @@ -85,7 +85,7 @@ void LLFloaterJoystick::draw() if (llabs(value) > maxbar) { F32 range = llabs(value); - mAxisStatsBar[i]->setRange(-range, range, range * 0.25f, range * 0.5f); + mAxisStatsBar[i]->setRange(-range, range, range * 0.25f); } } } @@ -106,7 +106,7 @@ BOOL LLFloaterJoystick::postBuild() if (mAxisStatsBar[i]) { mAxisStatsBar[i]->setStat(stat_name); - mAxisStatsBar[i]->setRange(-range, range, range * 0.25f, range * 0.5f); + mAxisStatsBar[i]->setRange(-range, range, range * 0.25f); } } |