summaryrefslogtreecommitdiff
path: root/indra/llcharacter
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2012-10-03 17:13:18 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2012-10-03 17:13:18 -0400
commite29b66ed6ce29528f7b733c51db22a31a05d3a5f (patch)
treecc4485d5796d303a69b754a6b27c26f66eb768fc /indra/llcharacter
parent5010cf72d345e60d0a367ea213dafe8727414612 (diff)
additional fixes for avoiding avatar param manipulation via wearables, setting correct state from avatar appearance
Diffstat (limited to 'indra/llcharacter')
-rw-r--r--indra/llcharacter/llvisualparam.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llcharacter/llvisualparam.cpp b/indra/llcharacter/llvisualparam.cpp
index 809b312abe..255f61b1b3 100644
--- a/indra/llcharacter/llvisualparam.cpp
+++ b/indra/llcharacter/llvisualparam.cpp
@@ -250,6 +250,7 @@ void LLVisualParam::setAnimationTarget(F32 target_value, BOOL upload_bake)
if (mIsDummy)
{
setWeight(target_value, upload_bake);
+ mTargetWeight = mCurWeight;
return;
}