diff options
author | Rick Pasetto <rick@lindenlab.com> | 2010-01-06 13:28:58 -0800 |
---|---|---|
committer | Rick Pasetto <rick@lindenlab.com> | 2010-01-06 13:28:58 -0800 |
commit | 49a744b676871db094d1608819a90fec02a6732d (patch) | |
tree | 3bff95e3c5a9bf6a220e6cb18a826cac6b263ab8 /indra | |
parent | 327069dcb8d71e2fb603c0ddf505d692de64e461 (diff) | |
parent | 5cd4fabccb3f5ecd4881de11e1b920a9ad87c5f2 (diff) |
Automated merge with ssh://rick@hg.lindenlab.com/viewer/viewer-2-0/
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/lltoolpie.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/lltoolpie.cpp b/indra/newview/lltoolpie.cpp index 5f66e6b409..9ee848e30f 100644 --- a/indra/newview/lltoolpie.cpp +++ b/indra/newview/lltoolpie.cpp @@ -68,6 +68,7 @@ #include "llviewermedia.h" #include "llvoavatarself.h" #include "llviewermediafocus.h" +#include "llvovolume.h" #include "llworld.h" #include "llui.h" #include "llweb.h" @@ -629,12 +630,14 @@ static bool needs_tooltip(LLSelectNode* nodep) return false; LLViewerObject* object = nodep->getObject(); + LLVOVolume* vovolume = dynamic_cast<LLVOVolume*>(object); LLViewerObject *parent = (LLViewerObject *)object->getParent(); if (object->flagHandleTouch() || (parent && parent->flagHandleTouch()) || object->flagTakesMoney() || (parent && parent->flagTakesMoney()) || object->flagAllowInventoryAdd() + || (vovolume && vovolume->hasMedia()) ) { return true; |