diff options
Diffstat (limited to 'linden/indra/newview/lltoolpie.cpp')
-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 | { |