summaryrefslogtreecommitdiff
path: root/indra/llcharacter/llvisualparam.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-06-01 22:31:24 +0100
committerTofu Linden <tofu.linden@lindenlab.com>2010-06-01 22:31:24 +0100
commitf520ef3f5214bcab526b6f57c77a732e99ba2397 (patch)
treeb0f1743c3f0107d0e1f6df2265801a2f75cca0b6 /indra/llcharacter/llvisualparam.cpp
parent10aa4e3b1666b312f513d1b69be751fc11111170 (diff)
parent605a4a459e23073814e8ce18c8e9997a9e01fab0 (diff)
merge from viewer-public
Diffstat (limited to 'indra/llcharacter/llvisualparam.cpp')
-rw-r--r--indra/llcharacter/llvisualparam.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcharacter/llvisualparam.cpp b/indra/llcharacter/llvisualparam.cpp
index 297322fe58..703fe2f9cc 100644
--- a/indra/llcharacter/llvisualparam.cpp
+++ b/indra/llcharacter/llvisualparam.cpp
@@ -284,7 +284,7 @@ void LLVisualParam::setAnimationTarget(F32 target_value, BOOL upload_bake)
void LLVisualParam::setNextParam( LLVisualParam *next )
{
llassert(!mNext);
-
+ llassert(getWeight() == getDefaultWeight()); // need to establish mNext before we start changing values on this, else initial value won't get mirrored (we can fix that, but better to forbid this pattern)
mNext = next;
}