summaryrefslogtreecommitdiff
path: root/indra/newview/llface.cpp
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2009-11-01 17:27:25 -0700
committerXiaohong Bao <bao@lindenlab.com>2009-11-01 17:27:25 -0700
commit99d9712dd7f2a11a1094cba380f92e677710b56b (patch)
treec37d02e443682c8351e27eb6c03485ae9c96940d /indra/newview/llface.cpp
parent4e1cde2e39cec8bca60faa65045a2055dd41efbf (diff)
additional fix for DEV-41913: parcel media does not display on particle textures.
Diffstat (limited to 'indra/newview/llface.cpp')
-rw-r--r--indra/newview/llface.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp
index 0276cd9a24..09b3ce1e86 100644
--- a/indra/newview/llface.cpp
+++ b/indra/newview/llface.cpp
@@ -278,16 +278,6 @@ void LLFace::setTexture(LLViewerTexture* tex)
}
mTexture = tex ;
-
- //check if this texture is replaced by a parcel media texture.
- if(mTexture.notNull() && mTexture->hasParcelMedia())
- {
- LLViewerMediaTexture* mediap = LLViewerTextureManager::findMediaTexture(mTexture->getID()) ;
- if(mediap)
- {
- mediap->addMediaToFace(this) ;
- }
- }
}
void LLFace::dirtyTexture()