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