diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2009-10-12 05:32:52 +0000 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2009-10-12 05:32:52 +0000 |
commit | c2ddcfae49bb1b4794facd64de1c2ac62fdb5715 (patch) | |
tree | ad9b9f386a7725be892d7f221e973af97b7b2326 /indra/newview/llviewertexture.cpp | |
parent | 18f1895bf2abceadba292672eb80a384f0142c73 (diff) |
fix for EXT-1328: Alpha textures are not displayed correctly when first loaded.
to be reviewed by davep.
Diffstat (limited to 'indra/newview/llviewertexture.cpp')
-rw-r--r-- | indra/newview/llviewertexture.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llviewertexture.cpp b/indra/newview/llviewertexture.cpp index 9f096209dd..a0ab4cb1e6 100644 --- a/indra/newview/llviewertexture.cpp +++ b/indra/newview/llviewertexture.cpp @@ -1315,7 +1315,10 @@ bool LLViewerFetchedTexture::updateFetch() mComponents = mRawImage->getComponents(); mGLTexturep->setComponents(mComponents) ; - gTextureList.dirtyImage(this); + for(ll_face_list_t::iterator iter = mFaceList.begin(); iter != mFaceList.end(); ++iter) + { + (*iter)->dirtyTexture() ; + } } mIsRawImageValid = TRUE; gTextureList.mCreateTextureList.insert(this); |