diff options
Diffstat (limited to 'linden/indra')
-rw-r--r-- | linden/indra/newview/lltoolpie.cpp | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/linden/indra/newview/lltoolpie.cpp b/linden/indra/newview/lltoolpie.cpp index b7d762c..a70169c 100644 --- a/linden/indra/newview/lltoolpie.cpp +++ b/linden/indra/newview/lltoolpie.cpp | |||
@@ -422,13 +422,16 @@ BOOL LLToolPie::pickAndShowMenu(BOOL always_show) | |||
422 | } | 422 | } |
423 | // [/RLVa:KB] | 423 | // [/RLVa:KB] |
424 | } | 424 | } |
425 | else if (object->isAttachment() && !object->isHUDAttachment()) | 425 | else if (object->isAttachment()) |
426 | { | 426 | { |
427 | gPieAttachment->show(x, y, mPieMouseButtonDown); | 427 | if (object->isHUDAttachment()) |
428 | } | 428 | { |
429 | else if (object->isHUDAttachment()) | 429 | gPieHUD->show(x, y, mPieMouseButtonDown); |
430 | { | 430 | } |
431 | gPieHUD->show(x, y, mPieMouseButtonDown); | 431 | else |
432 | { | ||
433 | gPieAttachment->show(x, y, mPieMouseButtonDown); | ||
434 | } | ||
432 | } | 435 | } |
433 | else | 436 | else |
434 | { | 437 | { |