summaryrefslogtreecommitdiff
path: root/indra/llappearance/lltexlayerparams.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2013-10-17 10:40:34 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2013-10-17 10:40:34 -0400
commit51cb1bb45ec3d3befc4756aaa2536d4224919734 (patch)
tree148daf1ed32bab74cd508f97cedde3738e87d7a9 /indra/llappearance/lltexlayerparams.cpp
parentcecad67163f3607680e70507ec6a5b1a0e98b2c8 (diff)
parentb42c70173c032d3362fce438a49100fbe7608a4d (diff)
merge
Diffstat (limited to 'indra/llappearance/lltexlayerparams.cpp')
-rwxr-xr-xindra/llappearance/lltexlayerparams.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/indra/llappearance/lltexlayerparams.cpp b/indra/llappearance/lltexlayerparams.cpp
index 80aded450d..5e9d9a658b 100755
--- a/indra/llappearance/lltexlayerparams.cpp
+++ b/indra/llappearance/lltexlayerparams.cpp
@@ -178,7 +178,6 @@ void LLTexLayerParamAlpha::setWeight(F32 weight)
if ((mAvatarAppearance->getSex() & getSex()) &&
(mAvatarAppearance->isSelf() && !mIsDummy)) // only trigger a baked texture update if we're changing a wearable's visual param.
{
- mAvatarAppearance->invalidateComposite(mTexLayer->getTexLayerSet());
mTexLayer->invalidateMorphMasks();
}
}
@@ -466,22 +465,6 @@ void LLTexLayerParamColor::setWeight(F32 weight)
if (cur_u8 != new_u8)
{
mCurWeight = new_weight;
-
- if (info->mNumColors <= 0)
- {
- // This will happen when we set the default weight the first time.
- return;
- }
-
- if ((mAvatarAppearance->getSex() & getSex()) && (mAvatarAppearance->isSelf() && !mIsDummy)) // only trigger a baked texture update if we're changing a wearable's visual param.
- {
- onGlobalColorChanged();
- if (mTexLayer)
- {
- mAvatarAppearance->invalidateComposite(mTexLayer->getTexLayerSet());
- }
- }
-
// llinfos << "param " << mName << " = " << new_weight << llendl;
}
}