diff options
author | Oz Linden <oz@lindenlab.com> | 2012-11-13 11:57:14 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2012-11-13 11:57:14 -0500 |
commit | be210914f4e9081f021cc1ad3b671765aba79b61 (patch) | |
tree | 006e4ec827b8c1b3cf6042c08e12aadf48f43943 /indra/newview/llviewertexture.cpp | |
parent | 7e779a29c142feaa34a30dff39b72d0ae7c0fdc3 (diff) | |
parent | d8f081cf1b18ddb5f0412b21f4d36bfce6abae19 (diff) |
merge changes for DRTVWR-238
Diffstat (limited to 'indra/newview/llviewertexture.cpp')
-rw-r--r-- | indra/newview/llviewertexture.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewertexture.cpp b/indra/newview/llviewertexture.cpp index 8eb8717de2..32cf8cc1b3 100644 --- a/indra/newview/llviewertexture.cpp +++ b/indra/newview/llviewertexture.cpp @@ -1904,7 +1904,7 @@ void LLViewerFetchedTexture::updateVirtualSize() for(U32 i = 0 ; i < mNumFaces ; i++) { LLFace* facep = mFaceList[i] ; - if(facep->getDrawable()->isRecentlyVisible()) + if( facep && facep->getDrawable() && facep->getDrawable()->isRecentlyVisible()) { addTextureStats(facep->getVirtualSize()) ; setAdditionalDecodePriority(facep->getImportanceToCamera()) ; |