diff options
author | McCabe Maxsted | 2009-09-14 17:52:41 -0700 |
---|---|---|
committer | McCabe Maxsted | 2009-09-14 17:52:41 -0700 |
commit | 7f090f7bec5264ca9e203c27dfb6b2992bb2bcbd (patch) | |
tree | 0243666021de3ae6ac61a6c6f4e57d42771fe964 /linden/indra/newview/llfloaterproperties.cpp | |
parent | Applied BlockClickSit debug setting from Emerald to block sit click action (diff) | |
download | meta-impy-7f090f7bec5264ca9e203c27dfb6b2992bb2bcbd.zip meta-impy-7f090f7bec5264ca9e203c27dfb6b2992bb2bcbd.tar.gz meta-impy-7f090f7bec5264ca9e203c27dfb6b2992bb2bcbd.tar.bz2 meta-impy-7f090f7bec5264ca9e203c27dfb6b2992bb2bcbd.tar.xz |
Merged in jacek/next
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llfloaterproperties.cpp | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/linden/indra/newview/llfloaterproperties.cpp b/linden/indra/newview/llfloaterproperties.cpp index eddd56a..0af8ec3 100644 --- a/linden/indra/newview/llfloaterproperties.cpp +++ b/linden/indra/newview/llfloaterproperties.cpp | |||
@@ -354,8 +354,17 @@ void LLFloaterProperties::refreshFromItem(LLInventoryItem* item) | |||
354 | else | 354 | else |
355 | { | 355 | { |
356 | gCacheName->getFullName(perm.getOwner(), name); | 356 | gCacheName->getFullName(perm.getOwner(), name); |
357 | // [RLVa:KB] - Checked: 2009-07-08 (RLVa-1.0.0e) | ||
358 | if (gRlvHandler.hasBehaviour(RLV_BHVR_SHOWNAMES)) | ||
359 | { | ||
360 | name = gRlvHandler.getAnonym(name); | ||
361 | } | ||
362 | // [/RLVa:KB] | ||
357 | } | 363 | } |
358 | childSetEnabled("BtnOwner",TRUE); | 364 | //childSetEnabled("BtnOwner",TRUE); |
365 | // [RLVa:KB] - Checked: 2009-07-08 (RLVa-1.0.0e) | Added: RLVa-1.0.0e | ||
366 | childSetEnabled("BtnOwner", !gRlvHandler.hasBehaviour(RLV_BHVR_SHOWNAMES)); | ||
367 | // [/RLVa:KB] | ||
359 | childSetEnabled("LabelOwnerTitle",TRUE); | 368 | childSetEnabled("LabelOwnerTitle",TRUE); |
360 | childSetEnabled("LabelOwnerName",TRUE); | 369 | childSetEnabled("LabelOwnerName",TRUE); |
361 | childSetText("LabelOwnerName",name); | 370 | childSetText("LabelOwnerName",name); |
@@ -602,7 +611,10 @@ void LLFloaterProperties::onClickOwner(void* data) | |||
602 | } | 611 | } |
603 | else | 612 | else |
604 | { | 613 | { |
605 | if(!item->getPermissions().getOwner().isNull()) | 614 | // if(!item->getPermissions().getOwner().isNull()) |
615 | // [RLVa:KB] - Checked: 2009-07-08 (RLVa-1.0.0e) | ||
616 | if ( (!item->getPermissions().getOwner().isNull()) && (!gRlvHandler.hasBehaviour(RLV_BHVR_SHOWNAMES)) ) | ||
617 | // [/RLVa:KB] | ||
606 | { | 618 | { |
607 | LLFloaterAvatarInfo::showFromObject(item->getPermissions().getOwner()); | 619 | LLFloaterAvatarInfo::showFromObject(item->getPermissions().getOwner()); |
608 | } | 620 | } |