From 31ba05810c641f14e8ab5da8ad2aaf527779f6c1 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Fri, 15 Aug 2008 23:45:37 -0500 Subject: Second Life viewer sources 1.19.1.2 --- linden/indra/newview/llstatgraph.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'linden/indra/newview/llstatgraph.cpp') 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() } } -void LLStatGraph::setValue(const F32 value) +void LLStatGraph::setValue(const LLSD& value) { - mValue = value; + mValue = (F32)value.asReal(); } void LLStatGraph::setMin(const F32 min) -- cgit v1.1