diff options
author | Tonya Souther <tonya.souther@gmail.com> | 2013-02-28 07:44:45 -0600 |
---|---|---|
committer | Tonya Souther <tonya.souther@gmail.com> | 2013-02-28 07:44:45 -0600 |
commit | 2eaf35b946630ab6b8635e74d5e7f2188c179e4b (patch) | |
tree | 9a4f0328e98daf411d9bbbfa8d46eecdd28016cd /indra/newview | |
parent | fa7dd433088963a101252884f35fda8094f4a76b (diff) |
Clear face's material ID internally when removing the material.
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llselectmgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llselectmgr.cpp b/indra/newview/llselectmgr.cpp index 94cfdb9f53..4623d32cff 100644 --- a/indra/newview/llselectmgr.cpp +++ b/indra/newview/llselectmgr.cpp @@ -2050,7 +2050,7 @@ void LLSelectMgr::selectionRemoveMaterial() { LL_INFOS("Materials") << "Removing material from object " << object->getID() << " face " << face << LL_ENDL; LLMaterialMgr::getInstance()->remove(object->getID(),face); - //object->setTEMaterialParams(face,LLMaterial::null); + object->setTEMaterialID(face,LLMaterialID::null); } return true; } |