aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llstatgraph.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:37 -0500
committerJacek Antonelli2008-08-15 23:45:37 -0500
commit31ba05810c641f14e8ab5da8ad2aaf527779f6c1 (patch)
treec4b8d635dfb657fa4cfee7c285f8cadbf24afa90 /linden/indra/newview/llstatgraph.cpp
parentSecond Life viewer sources 1.19.1.1 (diff)
downloadmeta-impy-31ba05810c641f14e8ab5da8ad2aaf527779f6c1.zip
meta-impy-31ba05810c641f14e8ab5da8ad2aaf527779f6c1.tar.gz
meta-impy-31ba05810c641f14e8ab5da8ad2aaf527779f6c1.tar.bz2
meta-impy-31ba05810c641f14e8ab5da8ad2aaf527779f6c1.tar.xz
Second Life viewer sources 1.19.1.2
Diffstat (limited to 'linden/indra/newview/llstatgraph.cpp')
-rw-r--r--linden/indra/newview/llstatgraph.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/newview/llstatgraph.cpp b/linden/indra/newview/llstatgraph.cpp
index 992b959..3725228 100644
--- a/linden/indra/newview/llstatgraph.cpp
+++ b/linden/indra/newview/llstatgraph.cpp
@@ -134,9 +134,9 @@ void LLStatGraph::draw()
134 } 134 }
135} 135}
136 136
137void LLStatGraph::setValue(const F32 value) 137void LLStatGraph::setValue(const LLSD& value)
138{ 138{
139 mValue = value; 139 mValue = (F32)value.asReal();
140} 140}
141 141
142void LLStatGraph::setMin(const F32 min) 142void LLStatGraph::setMin(const F32 min)