summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelface.h
diff options
context:
space:
mode:
authorGraham Madarasz <graham@lindenlab.com>2013-06-10 15:49:09 -0700
committerGraham Madarasz <graham@lindenlab.com>2013-06-10 15:49:09 -0700
commita4676adebbfb35a0d126c5ae78cd38edb816f6da (patch)
treeca4c9df5d1e5ff69b92d7b4f473f4cd2a827e643 /indra/newview/llpanelface.h
parent9d73f625ab72e38db707570171da0e6499eaa6aa (diff)
NORSPEC-251 fix issues with not binning objects changed from having a material to using legacy bumps causing incorrect rendering
Diffstat (limited to 'indra/newview/llpanelface.h')
-rwxr-xr-xindra/newview/llpanelface.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llpanelface.h b/indra/newview/llpanelface.h
index 84aba4dc89..2dd24f4376 100755
--- a/indra/newview/llpanelface.h
+++ b/indra/newview/llpanelface.h
@@ -258,7 +258,8 @@ private:
if (!is_need_material)
{
LL_DEBUGS("Materials") << "Removing material from object " << object->getID() << " face " << face << LL_ENDL;
- LLMaterialMgr::getInstance()->remove(object->getID(),face);
+ LLMaterialMgr::getInstance()->remove(object->getID(),face);
+ object->setTEMaterialID(face, LLMaterialID::null);
}
else
{