summaryrefslogtreecommitdiff
path: root/indra/llappearance/lltexlayerparams.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2012-09-26 15:45:58 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2012-09-26 15:45:58 -0400
commit93e210d91f521b01deb10aa6aa25160364e6ae28 (patch)
treec2205093d0b57ca6d1037ec90bde18615bc16e7e /indra/llappearance/lltexlayerparams.cpp
parentab83fab72c66e753917001a9030aa55e69a3c496 (diff)
more state management stuff, DRANO flags for problematic areas
Diffstat (limited to 'indra/llappearance/lltexlayerparams.cpp')
-rwxr-xr-xindra/llappearance/lltexlayerparams.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/indra/llappearance/lltexlayerparams.cpp b/indra/llappearance/lltexlayerparams.cpp
index 18e70af23c..32bdba4e1c 100755
--- a/indra/llappearance/lltexlayerparams.cpp
+++ b/indra/llappearance/lltexlayerparams.cpp
@@ -174,13 +174,9 @@ void LLTexLayerParamAlpha::setWeight(F32 weight, BOOL upload_bake)
{
mCurWeight = new_weight;
- if ((mAvatarAppearance->getSex() & getSex()) && (mAvatarAppearance->isSelf() && !mIsDummy)) // only trigger a baked texture update if we're changing a wearable's visual param.
+ if ((mAvatarAppearance->getSex() & getSex()) &&
+ (mAvatarAppearance->isSelf() && !mIsDummy)) // only trigger a baked texture update if we're changing a wearable's visual param.
{
- // FIXME DRANO - is this check right?
- if (!mAvatarAppearance->isUsingServerBakes())
- {
- upload_bake = FALSE;
- }
mAvatarAppearance->invalidateComposite(mTexLayer->getTexLayerSet(), upload_bake);
mTexLayer->invalidateMorphMasks();
}