summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2013-08-04 05:21:34 -0700
committerGraham Linden <graham@lindenlab.com>2013-08-04 05:21:34 -0700
commit938ad0c640a72dc7ee8bf39ad138e6d84d1d0a1e (patch)
treefe911cce0f83f3581cfbfcba9fdec27b2ef578c0 /indra/newview
parent9557926fff5992276811c1b1d9aa371ede9004a8 (diff)
NORSPEC-305 -NORSPEC-335 fix scale and HUD anim regression from materials changes in CL 28424
Diffstat (limited to 'indra/newview')
-rwxr-xr-xindra/newview/llviewerobject.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/indra/newview/llviewerobject.cpp b/indra/newview/llviewerobject.cpp
index 6f7b2f40e6..f29a00e4c4 100755
--- a/indra/newview/llviewerobject.cpp
+++ b/indra/newview/llviewerobject.cpp
@@ -4410,12 +4410,10 @@ S32 LLViewerObject::setTEMaterialParams(const U8 te, const LLMaterialPtr pMateri
void LLViewerObject::refreshMaterials()
{
- setChanged(ALL_CHANGED);
+ setChanged(TEXTURE);
if (mDrawable.notNull())
{
gPipeline.markTextured(mDrawable);
- gPipeline.markRebuild(mDrawable,LLDrawable::REBUILD_ALL);
- dirtySpatialGroup(TRUE);
}
}