summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeyla Farazha <leyla@lindenlab.com>2010-04-16 14:17:15 -0700
committerLeyla Farazha <leyla@lindenlab.com>2010-04-16 14:17:15 -0700
commit748de83a633d8d2117304a57aea54350cdd14d22 (patch)
tree890aa55357e3842ef62849e5ad07efde52d6e9f7
parent211b7f600ed5d4c8dac235006ad55d20522eb7ea (diff)
EXT-5205 MoAP auto zoom should not work on prims attached as HUDs
Reviewed by Richard CC#192
-rw-r--r--indra/newview/lltoolpie.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/lltoolpie.cpp b/indra/newview/lltoolpie.cpp
index a9bbee784d..ae244cd8a1 100644
--- a/indra/newview/lltoolpie.cpp
+++ b/indra/newview/lltoolpie.cpp
@@ -1267,6 +1267,7 @@ bool LLToolPie::handleMediaClick(const LLPickInfo& pick)
if (!parcel ||
objectp.isNull() ||
+ objectp->isHUDAttachment() ||
pick.mObjectFace < 0 ||
pick.mObjectFace >= objectp->getNumTEs())
{