diff options
Diffstat (limited to 'linden')
-rw-r--r-- | linden/indra/newview/lltoolpie.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/newview/lltoolpie.cpp b/linden/indra/newview/lltoolpie.cpp index b7d762c..dbb5b63 100644 --- a/linden/indra/newview/lltoolpie.cpp +++ b/linden/indra/newview/lltoolpie.cpp | |||
@@ -802,8 +802,8 @@ BOOL LLToolPie::handleDoubleClick(S32 x, S32 y, MASK mask) | |||
802 | } | 802 | } |
803 | 803 | ||
804 | const LLTextureEntry* tep = object->getTE(mPick.mObjectFace); | 804 | const LLTextureEntry* tep = object->getTE(mPick.mObjectFace); |
805 | viewer_media_t media_impl = LLViewerMedia::getMediaImplFromTextureID(tep->getID()); | 805 | viewer_media_t media_impl = tep ? LLViewerMedia::getMediaImplFromTextureID(tep->getID()) : NULL; |
806 | if (tep && media_impl.notNull() && media_impl->hasMedia()) | 806 | if (media_impl.notNull() && media_impl->hasMedia()) |
807 | { | 807 | { |
808 | LL_DEBUGS("DoubleClicks") << "Double clicked running parcel media" << LL_ENDL; | 808 | LL_DEBUGS("DoubleClicks") << "Double clicked running parcel media" << LL_ENDL; |
809 | return FALSE; | 809 | return FALSE; |