diff options
author | Graham Madarasz <graham@lindenlab.com> | 2013-06-10 15:49:09 -0700 |
---|---|---|
committer | Graham Madarasz <graham@lindenlab.com> | 2013-06-10 15:49:09 -0700 |
commit | a4676adebbfb35a0d126c5ae78cd38edb816f6da (patch) | |
tree | ca4c9df5d1e5ff69b92d7b4f473f4cd2a827e643 /indra/newview/llpanelface.h | |
parent | 9d73f625ab72e38db707570171da0e6499eaa6aa (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-x | indra/newview/llpanelface.h | 3 |
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 { |