summaryrefslogtreecommitdiff
path: root/indra/newview/llvovolume.cpp
diff options
context:
space:
mode:
authorLeyla Farazha <leyla@lindenlab.com>2010-05-19 15:58:56 -0700
committerLeyla Farazha <leyla@lindenlab.com>2010-05-19 15:58:56 -0700
commitac17ec0c287246dbb00d21a6b4994949eac69737 (patch)
tree3da999db2b63dbaa74a8c7ce2572e3f17df454dd /indra/newview/llvovolume.cpp
parent77f795cae59f7fa52d57ba30469cb0ddb744ac4d (diff)
parent61cb3d31137f30f3766dbe3c22d700fbdf517d80 (diff)
Merge pull from dessie/viewer-public
Diffstat (limited to 'indra/newview/llvovolume.cpp')
-rw-r--r--indra/newview/llvovolume.cpp5
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;