diff options
author | Anchor Linden <anchor@lindenlab.com> | 2018-03-02 15:29:07 -0800 |
---|---|---|
committer | Anchor Linden <anchor@lindenlab.com> | 2018-03-02 15:29:07 -0800 |
commit | 485193c7f530fa3d8574c74304e452ab6d012e41 (patch) | |
tree | 54e31e2e46d684a2850f586b4bdb5615f8a107f8 /indra/newview/llselectmgr.cpp | |
parent | 8f64a9edea9d4230cdc845c126955e23990823cb (diff) |
[MAINT-8081] - update mesh visibility on tex change
Diffstat (limited to 'indra/newview/llselectmgr.cpp')
-rw-r--r-- | indra/newview/llselectmgr.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/indra/newview/llselectmgr.cpp b/indra/newview/llselectmgr.cpp index 7b7b81f3e4..1b40c21824 100644 --- a/indra/newview/llselectmgr.cpp +++ b/indra/newview/llselectmgr.cpp @@ -1648,14 +1648,6 @@ void LLSelectMgr::selectionSetImage(const LLUUID& imageid) objectp->setTEImage(te, LLViewerTextureManager::getFetchedTexture(mImageID, FTT_DEFAULT, TRUE, LLGLTexture::BOOST_NONE, LLViewerTexture::LOD_TEXTURE)); } - if (objectp->isAttachment()) - { - LLVOAvatar* avatar = objectp->getAvatar(); - if (avatar) - { - avatar->updateMeshVisibility(); - } - } return true; } }; @@ -1856,14 +1848,6 @@ BOOL LLSelectMgr::selectionRevertTextures() { object->setTEImage(te, LLViewerTextureManager::getFetchedTexture(id, FTT_DEFAULT, TRUE, LLGLTexture::BOOST_NONE, LLViewerTexture::LOD_TEXTURE)); - if (object->isAttachment()) - { - LLVOAvatar* avatar = object->getAvatar(); - if (avatar) - { - avatar->updateMeshVisibility(); - } - } } } } |