diff options
author | McCabe Maxsted | 2010-10-09 03:27:47 -0700 |
---|---|---|
committer | McCabe Maxsted | 2010-10-09 03:27:47 -0700 |
commit | 1866bc2af39189c17b636970d4df7edc983c1830 (patch) | |
tree | e60963a49832280cf3d2d9b5a8b589853469caee /linden/indra/newview/llhoverview.cpp | |
parent | Use all those cores for compile (diff) | |
download | meta-impy-1866bc2af39189c17b636970d4df7edc983c1830.zip meta-impy-1866bc2af39189c17b636970d4df7edc983c1830.tar.gz meta-impy-1866bc2af39189c17b636970d4df7edc983c1830.tar.bz2 meta-impy-1866bc2af39189c17b636970d4df7edc983c1830.tar.xz |
Applied RLVa-1.1.2-Imprudence.patch by Kitty Barnett
Diffstat (limited to 'linden/indra/newview/llhoverview.cpp')
-rw-r--r-- | linden/indra/newview/llhoverview.cpp | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/linden/indra/newview/llhoverview.cpp b/linden/indra/newview/llhoverview.cpp index 6367380..120bbaa 100644 --- a/linden/indra/newview/llhoverview.cpp +++ b/linden/indra/newview/llhoverview.cpp | |||
@@ -75,6 +75,10 @@ | |||
75 | 75 | ||
76 | #include "hippoGridManager.h" | 76 | #include "hippoGridManager.h" |
77 | 77 | ||
78 | // [RLVa:KB] | ||
79 | #include "rlvhandler.h" | ||
80 | // [/RLVa:KB] | ||
81 | |||
78 | // | 82 | // |
79 | // Constants | 83 | // Constants |
80 | // | 84 | // |
@@ -251,7 +255,7 @@ void LLHoverView::updateText() | |||
251 | // [RLVa:KB] - Checked: 2009-07-08 (RLVa-1.0.0e) | 255 | // [RLVa:KB] - Checked: 2009-07-08 (RLVa-1.0.0e) |
252 | if (gRlvHandler.hasBehaviour(RLV_BHVR_SHOWNAMES)) | 256 | if (gRlvHandler.hasBehaviour(RLV_BHVR_SHOWNAMES)) |
253 | { | 257 | { |
254 | line = gRlvHandler.getAnonym(line.append(firstname->getString()).append(1, ' ').append(lastname->getString())); | 258 | line = RlvStrings::getAnonym(line.append(firstname->getString()).append(1, ' ').append(lastname->getString())); |
255 | } | 259 | } |
256 | else | 260 | else |
257 | { | 261 | { |
@@ -350,7 +354,7 @@ void LLHoverView::updateText() | |||
350 | // [RLVa:KB] - Checked: 2009-07-08 (RLVa-1.0.0e) | 354 | // [RLVa:KB] - Checked: 2009-07-08 (RLVa-1.0.0e) |
351 | if (gRlvHandler.hasBehaviour(RLV_BHVR_SHOWNAMES)) | 355 | if (gRlvHandler.hasBehaviour(RLV_BHVR_SHOWNAMES)) |
352 | { | 356 | { |
353 | name = gRlvHandler.getAnonym(name); | 357 | name = RlvStrings::getAnonym(name); |
354 | } | 358 | } |
355 | // [/RLVa:KB] | 359 | // [/RLVa:KB] |
356 | 360 | ||
@@ -538,7 +542,8 @@ void LLHoverView::updateText() | |||
538 | if (hover_parcel) | 542 | if (hover_parcel) |
539 | { | 543 | { |
540 | // [RLVa:KB] - Checked: 2009-07-04 (RLVa-1.0.0a) | Added: RLVa-0.2.0b | 544 | // [RLVa:KB] - Checked: 2009-07-04 (RLVa-1.0.0a) | Added: RLVa-0.2.0b |
541 | line.append( (!gRlvHandler.hasBehaviour(RLV_BHVR_SHOWLOC)) ? hover_parcel->getName() : rlv_handler_t::cstrHiddenParcel ); | 545 | line.append( (!gRlvHandler.hasBehaviour(RLV_BHVR_SHOWLOC)) |
546 | ? hover_parcel->getName() : RlvStrings::getString(RLV_STRING_HIDDEN_PARCEL) ); | ||
542 | // [/RLVa:KB] | 547 | // [/RLVa:KB] |
543 | //line.append(hover_parcel->getName()); | 548 | //line.append(hover_parcel->getName()); |
544 | } | 549 | } |
@@ -570,7 +575,7 @@ void LLHoverView::updateText() | |||
570 | else if(gCacheName->getFullName(owner, name)) | 575 | else if(gCacheName->getFullName(owner, name)) |
571 | { | 576 | { |
572 | // [RLVa:KB] - Checked: 2009-07-08 (RLVa-1.0.0e) | Added: RLVa-0.2.0b | 577 | // [RLVa:KB] - Checked: 2009-07-08 (RLVa-1.0.0e) | Added: RLVa-0.2.0b |
573 | line.append( (!gRlvHandler.hasBehaviour(RLV_BHVR_SHOWNAMES)) ? name : gRlvHandler.getAnonym(name)); | 578 | line.append( (!gRlvHandler.hasBehaviour(RLV_BHVR_SHOWNAMES)) ? name : RlvStrings::getAnonym(name)); |
574 | // [/RLVa:KB] | 579 | // [/RLVa:KB] |
575 | //line.append(name); | 580 | //line.append(name); |
576 | } | 581 | } |
@@ -683,7 +688,14 @@ void LLHoverView::draw() | |||
683 | // To toggle off hover tips, you have to just suppress the draw. | 688 | // To toggle off hover tips, you have to just suppress the draw. |
684 | // The picking is still needed to do cursor changes over physical | 689 | // The picking is still needed to do cursor changes over physical |
685 | // and scripted objects. JC | 690 | // and scripted objects. JC |
691 | // if (!sShowHoverTips) | ||
692 | // [RLVa:KB] - Checked: 2010-01-02 (RLVa-1.1.0l) | Modified: RLVa-1.1.0l | ||
693 | #ifdef RLV_EXTENSION_CMD_INTERACT | ||
694 | if ( (!sShowHoverTips) || (gRlvHandler.hasBehaviour(RLV_BHVR_INTERACT)) ) | ||
695 | #else | ||
686 | if (!sShowHoverTips) | 696 | if (!sShowHoverTips) |
697 | #endif // RLV_EXTENSION_CMD_INTERACT | ||
698 | // [/RLVa:KB] | ||
687 | { | 699 | { |
688 | return; | 700 | return; |
689 | } | 701 | } |