aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpanelpermissions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llpanelpermissions.cpp')
-rw-r--r--linden/indra/newview/llpanelpermissions.cpp27
1 files changed, 25 insertions, 2 deletions
diff --git a/linden/indra/newview/llpanelpermissions.cpp b/linden/indra/newview/llpanelpermissions.cpp
index c430922..66c6cdd 100644
--- a/linden/indra/newview/llpanelpermissions.cpp
+++ b/linden/indra/newview/llpanelpermissions.cpp
@@ -322,9 +322,26 @@ void LLPanelPermissions::refresh()
322 } 322 }
323 } 323 }
324 324
325// [RLVa:KB] - Checked: 2009-07-08 (RLVa-1.0.0e)
326 bool fRlvEnableOwner = true;
327 if ( (rlv_handler_t::isEnabled()) && (gRlvHandler.hasBehaviour(RLV_BHVR_SHOWNAMES)) )
328 {
329 // Only filter the owner name if: the selection is all owned by the same avie and not group owned
330 if ( (owners_identical) && (!LLSelectMgr::getInstance()->selectIsGroupOwned()) )
331 {
332 owner_name = gRlvHandler.getAnonym(owner_name);
333 fRlvEnableOwner = false;
334 }
335 }
336// [/RLVa:KB]
337
325 childSetText("Owner Name",owner_name); 338 childSetText("Owner Name",owner_name);
326 childSetEnabled("Owner Name",TRUE); 339 childSetEnabled("Owner Name",TRUE);
327 childSetEnabled("button owner profile",owners_identical && (mOwnerID.notNull() || LLSelectMgr::getInstance()->selectIsGroupOwned())); 340// childSetEnabled("button owner profile",owners_identical && (mOwnerID.notNull() || LLSelectMgr::getInstance()->selectIsGroupOwned()));
341// [RLVa:KB] - Checked: 2009-07-08 (RLVa-1.0.0e)
342 childSetEnabled("button owner profile",
343 fRlvEnableOwner && owners_identical && (mOwnerID.notNull() || LLSelectMgr::getInstance()->selectIsGroupOwned()));
344// [/RLVa:KB]
328 345
329 // update group text field 346 // update group text field
330 childSetEnabled("Group:",true); 347 childSetEnabled("Group:",true);
@@ -861,7 +878,13 @@ void LLPanelPermissions::onClickOwner(void *data)
861 } 878 }
862 else 879 else
863 { 880 {
864 LLFloaterAvatarInfo::showFromObject(self->mOwnerID); 881// [RLVa:KB] - Checked: 2009-07-08 (RLVa-1.0.0e)
882 if (!gRlvHandler.hasBehaviour(RLV_BHVR_SHOWNAMES))
883 {
884 LLFloaterAvatarInfo::showFromObject(self->mOwnerID);
885 }
886// [/RLVa:KB]
887// LLFloaterAvatarInfo::showFromObject(self->mOwnerID);
865 } 888 }
866} 889}
867 890