From 0e5085e6bc639832442ab247937bc9c6cd910765 Mon Sep 17 00:00:00 2001 From: Inusaito Sayori Date: Sun, 8 Sep 2013 10:50:16 -0400 Subject: [PATCH] Fix owner mask being displayed in the debug permissions for everyone mask --- indra/newview/llpanelpermissions.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/indra/newview/llpanelpermissions.cpp b/indra/newview/llpanelpermissions.cpp index ad33397e3..42facc56c 100644 --- a/indra/newview/llpanelpermissions.cpp +++ b/indra/newview/llpanelpermissions.cpp @@ -692,16 +692,18 @@ void LLPanelPermissions::refresh() getChild("B:")->setValue("B: " + perm_string); getChildView("B:")->setVisible( TRUE); + /* perm_string = mask_to_string(owner_mask_on); if (!supports_export && owner_mask_on & PERM_EXPORT) // Hide Export when not available perm_string.erase(perm_string.find_last_of("E")); - //getChild("O:")->setValue("O: " + perm_string); - //getChildView("O:")->setVisible( TRUE); + getChild("O:")->setValue("O: " + perm_string); + getChildView("O:")->setVisible( TRUE); + */ getChild("G:")->setValue("G: " + mask_to_string(group_mask_on)); getChildView("G:")->setVisible( TRUE); - perm_string = mask_to_string(owner_mask_on); + perm_string = mask_to_string(everyone_mask_on); if (!supports_export && everyone_mask_on & PERM_EXPORT) // Hide Export when not available perm_string.erase(perm_string.find_last_of("E")); getChild("E:")->setValue("E: " + perm_string);