summaryrefslogtreecommitdiff
path: root/indra/newview/llselectmgr.cpp
diff options
context:
space:
mode:
authorAnchor Linden <anchor@lindenlab.com>2018-03-02 15:29:07 -0800
committerAnchor Linden <anchor@lindenlab.com>2018-03-02 15:29:07 -0800
commit485193c7f530fa3d8574c74304e452ab6d012e41 (patch)
tree54e31e2e46d684a2850f586b4bdb5615f8a107f8 /indra/newview/llselectmgr.cpp
parent8f64a9edea9d4230cdc845c126955e23990823cb (diff)
[MAINT-8081] - update mesh visibility on tex change
Diffstat (limited to 'indra/newview/llselectmgr.cpp')
-rw-r--r--indra/newview/llselectmgr.cpp16
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();
- }
- }
}
}
}