diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llstatgraph.cpp | 4 |
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 | ||
137 | void LLStatGraph::setValue(const F32 value) | 137 | void LLStatGraph::setValue(const LLSD& value) |
138 | { | 138 | { |
139 | mValue = value; | 139 | mValue = (F32)value.asReal(); |
140 | } | 140 | } |
141 | 141 | ||
142 | void LLStatGraph::setMin(const F32 min) | 142 | void LLStatGraph::setMin(const F32 min) |