diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llpanelpermissions.cpp | 27 |
1 files changed, 25 insertions, 2 deletions
diff --git a/linden/indra/newview/llpanelpermissions.cpp b/linden/indra/newview/llpanelpermissions.cpp index 439d8b4..24bbab6 100644 --- a/linden/indra/newview/llpanelpermissions.cpp +++ b/linden/indra/newview/llpanelpermissions.cpp | |||
@@ -327,9 +327,26 @@ void LLPanelPermissions::refresh() | |||
327 | } | 327 | } |
328 | } | 328 | } |
329 | 329 | ||
330 | // [RLVa:KB] - Checked: 2009-07-08 (RLVa-1.0.0e) | ||
331 | bool fRlvEnableOwner = true; | ||
332 | if ( (rlv_handler_t::isEnabled()) && (gRlvHandler.hasBehaviour(RLV_BHVR_SHOWNAMES)) ) | ||
333 | { | ||
334 | // Only filter the owner name if: the selection is all owned by the same avie and not group owned | ||
335 | if ( (owners_identical) && (!LLSelectMgr::getInstance()->selectIsGroupOwned()) ) | ||
336 | { | ||
337 | owner_name = gRlvHandler.getAnonym(owner_name); | ||
338 | fRlvEnableOwner = false; | ||
339 | } | ||
340 | } | ||
341 | // [/RLVa:KB] | ||
342 | |||
330 | childSetText("Owner Name",owner_name); | 343 | childSetText("Owner Name",owner_name); |
331 | childSetEnabled("Owner Name",TRUE); | 344 | childSetEnabled("Owner Name",TRUE); |
332 | childSetEnabled("button owner profile",owners_identical && (mOwnerID.notNull() || LLSelectMgr::getInstance()->selectIsGroupOwned())); | 345 | // childSetEnabled("button owner profile",owners_identical && (mOwnerID.notNull() || LLSelectMgr::getInstance()->selectIsGroupOwned())); |
346 | // [RLVa:KB] - Checked: 2009-07-08 (RLVa-1.0.0e) | ||
347 | childSetEnabled("button owner profile", | ||
348 | fRlvEnableOwner && owners_identical && (mOwnerID.notNull() || LLSelectMgr::getInstance()->selectIsGroupOwned())); | ||
349 | // [/RLVa:KB] | ||
333 | 350 | ||
334 | if (owner_name != last_owner_name) | 351 | if (owner_name != last_owner_name) |
335 | { | 352 | { |
@@ -852,7 +869,13 @@ void LLPanelPermissions::onClickOwner(void *data) | |||
852 | } | 869 | } |
853 | else | 870 | else |
854 | { | 871 | { |
855 | LLFloaterAvatarInfo::showFromObject(self->mOwnerID); | 872 | // [RLVa:KB] - Checked: 2009-07-08 (RLVa-1.0.0e) |
873 | if (!gRlvHandler.hasBehaviour(RLV_BHVR_SHOWNAMES)) | ||
874 | { | ||
875 | LLFloaterAvatarInfo::showFromObject(self->mOwnerID); | ||
876 | } | ||
877 | // [/RLVa:KB] | ||
878 | // LLFloaterAvatarInfo::showFromObject(self->mOwnerID); | ||
856 | } | 879 | } |
857 | } | 880 | } |
858 | 881 | ||