diff options
author | McCabe Maxsted | 2009-06-05 17:46:57 -0700 |
---|---|---|
committer | McCabe Maxsted | 2009-06-05 17:46:57 -0700 |
commit | c41ed5b16324bc8d19f2b3ffec51d14f13bb295c (patch) | |
tree | 9875daeb5c797679dfaad97db22df1a00820bce9 /linden/indra/newview/lltoolpie.cpp | |
parent | Fixed high res checkbox not hiding (diff) | |
download | meta-impy-c41ed5b16324bc8d19f2b3ffec51d14f13bb295c.zip meta-impy-c41ed5b16324bc8d19f2b3ffec51d14f13bb295c.tar.gz meta-impy-c41ed5b16324bc8d19f2b3ffec51d14f13bb295c.tar.bz2 meta-impy-c41ed5b16324bc8d19f2b3ffec51d14f13bb295c.tar.xz |
Redid pie menus based on feedback from VWR-8080
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/lltoolpie.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/linden/indra/newview/lltoolpie.cpp b/linden/indra/newview/lltoolpie.cpp index 63b6e34..73e39cb 100644 --- a/linden/indra/newview/lltoolpie.cpp +++ b/linden/indra/newview/lltoolpie.cpp | |||
@@ -314,6 +314,16 @@ BOOL LLToolPie::pickAndShowMenu(BOOL always_show) | |||
314 | if (object->isAvatar() | 314 | if (object->isAvatar() |
315 | || (object->isAttachment() && !object->isHUDAttachment() && !object->permYouOwner())) | 315 | || (object->isAttachment() && !object->isHUDAttachment() && !object->permYouOwner())) |
316 | { | 316 | { |
317 | // Toggle Inspect only for attachments | ||
318 | if (object->isAttachment()) | ||
319 | { | ||
320 | gMenuHolder->childSetEnabled("Avatar Inspect", TRUE); | ||
321 | } | ||
322 | else | ||
323 | { | ||
324 | gMenuHolder->childSetEnabled("Avatar Inspect", FALSE); | ||
325 | } | ||
326 | |||
317 | // Find the attachment's avatar | 327 | // Find the attachment's avatar |
318 | while( object && object->isAttachment()) | 328 | while( object && object->isAttachment()) |
319 | { | 329 | { |