summaryrefslogtreecommitdiff
path: root/indra/llappearance
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2012-09-19 17:59:27 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2012-09-19 17:59:27 -0400
commitf3d52b8d54c3be67262d4d8ae9a00253e9d55249 (patch)
tree716ae9b4ed9cac1e916fdd79ebfca430cebfba74 /indra/llappearance
parent47403abc3e1787c81707df0fe8852e46d156953c (diff)
small tweaks to param debugging, restricting LLWearable::writeToAvatar
Diffstat (limited to 'indra/llappearance')
-rwxr-xr-x[-rw-r--r--]indra/llappearance/lldriverparam.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llappearance/lldriverparam.cpp b/indra/llappearance/lldriverparam.cpp
index 1092b525d0..ec282c50eb 100644..100755
--- a/indra/llappearance/lldriverparam.cpp
+++ b/indra/llappearance/lldriverparam.cpp
@@ -187,7 +187,9 @@ BOOL LLDriverParam::setInfo(LLDriverParamInfo *info)
{
llassert(wearable);
LLDriverParam *new_param = new LLDriverParam(mAvatarAppearance, wearable);
+ // FIXME this clobbers mWearablep, which means any code currently using mWearablep is wrong.
*new_param = *this;
+// new_param->mDriven.clear(); // clear driven list to avoid overwriting avatar driven params from wearables.
return new_param;
}