diff options
Diffstat (limited to 'linden/indra/newview/llpanelpick.cpp')
-rw-r--r-- | linden/indra/newview/llpanelpick.cpp | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/linden/indra/newview/llpanelpick.cpp b/linden/indra/newview/llpanelpick.cpp index 480f703..57ce6d5 100644 --- a/linden/indra/newview/llpanelpick.cpp +++ b/linden/indra/newview/llpanelpick.cpp | |||
@@ -400,7 +400,10 @@ void LLPanelPick::refresh() | |||
400 | mEnabledCheck->setEnabled(godlike); | 400 | mEnabledCheck->setEnabled(godlike); |
401 | 401 | ||
402 | mSetBtn->setVisible(godlike); | 402 | mSetBtn->setVisible(godlike); |
403 | mSetBtn->setEnabled(godlike); | 403 | //mSetBtn->setEnabled(godlike); |
404 | // [RLVa:KB] - Checked: 2009-07-04 (RLVa-1.0.0a) | ||
405 | mSetBtn->setEnabled(godlike && (!gRlvHandler.hasBehaviour(RLV_BHVR_SHOWLOC)) ); | ||
406 | // [/RLVa:KB] | ||
404 | } | 407 | } |
405 | else | 408 | else |
406 | { | 409 | { |
@@ -417,7 +420,10 @@ void LLPanelPick::refresh() | |||
417 | mEnabledCheck->setEnabled(FALSE); | 420 | mEnabledCheck->setEnabled(FALSE); |
418 | 421 | ||
419 | mSetBtn->setVisible(is_self); | 422 | mSetBtn->setVisible(is_self); |
420 | mSetBtn->setEnabled(is_self); | 423 | //mSetBtn->setEnabled(is_self); |
424 | // [RLVa:KB] - Checked: 2009-07-04 (RLVa-1.0.0a) | ||
425 | mSetBtn->setEnabled(is_self && (!gRlvHandler.hasBehaviour(RLV_BHVR_SHOWLOC)) ); | ||
426 | // [/RLVa] | ||
421 | } | 427 | } |
422 | } | 428 | } |
423 | 429 | ||
@@ -455,6 +461,12 @@ void LLPanelPick::onClickLandmark(void* data) | |||
455 | // static | 461 | // static |
456 | void LLPanelPick::onClickSet(void* data) | 462 | void LLPanelPick::onClickSet(void* data) |
457 | { | 463 | { |
464 | // [RLVa:KB] - Checked: 2009-07-04 (RLVa-1.0.0a) | ||
465 | if (gRlvHandler.hasBehaviour(RLV_BHVR_SHOWLOC)) | ||
466 | { | ||
467 | return; | ||
468 | } | ||
469 | // [/RLVa:KB] | ||
458 | LLPanelPick* self = (LLPanelPick*)data; | 470 | LLPanelPick* self = (LLPanelPick*)data; |
459 | 471 | ||
460 | // Save location for later. | 472 | // Save location for later. |