From 5a8ab8225792eab970ca27385fb3b23c458a2617 Mon Sep 17 00:00:00 2001 From: Lirusaito Date: Tue, 19 Feb 2013 02:37:55 -0500 Subject: [PATCH] Bit more cleanup in llpanelpermissions.cpp --- indra/newview/llpanelpermissions.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/indra/newview/llpanelpermissions.cpp b/indra/newview/llpanelpermissions.cpp index 13b6a939e..5d1e762af 100644 --- a/indra/newview/llpanelpermissions.cpp +++ b/indra/newview/llpanelpermissions.cpp @@ -718,8 +718,7 @@ void LLPanelPermissions::refresh() { LLViewerInventoryItem* item = static_cast(i->get()); //getInventoryContents() filters out categories, static_cast. const LLPermissions& perm = item->getPermissions(); - if (!(perm.getMaskBase() & PERM_EXPORT && perm.getMaskEveryone() & PERM_EXPORT)) - can_export = false; + can_export = perm.getMaskBase() & PERM_EXPORT && perm.getMaskEveryone() & PERM_EXPORT; } for (U8 i = 0; can_export && i < objectp->getNumTEs(); ++i) // Can the textures be exported? if (LLTextureEntry* texture = objectp->getTE(i))