summaryrefslogtreecommitdiff
path: root/indra/newview/lltoolpie.cpp
diff options
context:
space:
mode:
authorKent Quirk <q@lindenlab.com>2010-02-16 23:36:54 -0500
committerKent Quirk <q@lindenlab.com>2010-02-16 23:36:54 -0500
commite3a71c74e24cc052bab14544730bcd9bcef35ca8 (patch)
tree109f6c98feea64f01330960407634eee9196356b /indra/newview/lltoolpie.cpp
parent69032d8d9d660de5b3c97589b7cc55dac70b153c (diff)
parent6552874c82ed5ed09cf0a4d16351cdd5c8698755 (diff)
automated merge from viewer-2-0
Diffstat (limited to 'indra/newview/lltoolpie.cpp')
-rw-r--r--indra/newview/lltoolpie.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/lltoolpie.cpp b/indra/newview/lltoolpie.cpp
index fdf9e1df2e..fb78b6a415 100644
--- a/indra/newview/lltoolpie.cpp
+++ b/indra/newview/lltoolpie.cpp
@@ -1263,11 +1263,10 @@ bool LLToolPie::handleMediaClick(const LLPickInfo& pick)
return false;
LLMediaEntry* mep = (tep->hasMedia()) ? tep->getMediaData() : NULL;
-
if(!mep)
return false;
- viewer_media_t media_impl = mep ? LLViewerMedia::getMediaImplFromTextureID(mep->getMediaID()) : NULL;
+ viewer_media_t media_impl = LLViewerMedia::getMediaImplFromTextureID(mep->getMediaID());
if (gSavedSettings.getBOOL("MediaOnAPrimUI"))
{