Skip to content
Snippets Groups Projects
Commit 938ad0c6 authored by Graham Linden's avatar Graham Linden
Browse files

NORSPEC-305 -NORSPEC-335 fix scale and HUD anim regression from materials changes in CL 28424

parent 9557926f
No related branches found
No related tags found
No related merge requests found
...@@ -4410,12 +4410,10 @@ S32 LLViewerObject::setTEMaterialParams(const U8 te, const LLMaterialPtr pMateri ...@@ -4410,12 +4410,10 @@ S32 LLViewerObject::setTEMaterialParams(const U8 te, const LLMaterialPtr pMateri
void LLViewerObject::refreshMaterials() void LLViewerObject::refreshMaterials()
{ {
setChanged(ALL_CHANGED); setChanged(TEXTURE);
if (mDrawable.notNull()) if (mDrawable.notNull())
{ {
gPipeline.markTextured(mDrawable); gPipeline.markTextured(mDrawable);
gPipeline.markRebuild(mDrawable,LLDrawable::REBUILD_ALL);
dirtySpatialGroup(TRUE);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment