diff options
author | Leyla Farazha <leyla@lindenlab.com> | 2010-05-19 15:58:56 -0700 |
---|---|---|
committer | Leyla Farazha <leyla@lindenlab.com> | 2010-05-19 15:58:56 -0700 |
commit | ac17ec0c287246dbb00d21a6b4994949eac69737 (patch) | |
tree | 3da999db2b63dbaa74a8c7ce2572e3f17df454dd /indra/newview/llvovolume.cpp | |
parent | 77f795cae59f7fa52d57ba30469cb0ddb744ac4d (diff) | |
parent | 61cb3d31137f30f3766dbe3c22d700fbdf517d80 (diff) |
Merge pull from dessie/viewer-public
Diffstat (limited to 'indra/newview/llvovolume.cpp')
-rw-r--r-- | indra/newview/llvovolume.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp index 594435475f..d6453111d7 100644 --- a/indra/newview/llvovolume.cpp +++ b/indra/newview/llvovolume.cpp @@ -1856,6 +1856,11 @@ void LLVOVolume::syncMediaData(S32 texture_index, const LLSD &media_data, bool m } LLTextureEntry *te = getTE(texture_index); + if(!te) + { + return ; + } + LL_DEBUGS("MediaOnAPrim") << "BEFORE: texture_index = " << texture_index << " hasMedia = " << te->hasMedia() << " : " << ((NULL == te->getMediaData()) ? "NULL MEDIA DATA" : ll_pretty_print_sd(te->getMediaData()->asLLSD())) << llendl; |