aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llstatgraph.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-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)