From 01cf3edf1c70359763831d52dcd10e89af03cfee Mon Sep 17 00:00:00 2001
From: Rye Mutt <rye@alchemyviewer.org>
Date: Tue, 24 Mar 2020 07:06:22 -0400
Subject: [PATCH] Fix permissions bug when editing media faces

---
 indra/newview/llfloatertools.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/indra/newview/llfloatertools.cpp b/indra/newview/llfloatertools.cpp
index 96acc5b4249..3577649be1d 100644
--- a/indra/newview/llfloatertools.cpp
+++ b/indra/newview/llfloatertools.cpp
@@ -1159,7 +1159,7 @@ bool LLFloaterTools::selectedMediaEditable()
 		
 		if ( ( owner_mask_on & PERM_MODIFY ) ||
 			( group_mask_on & PERM_MODIFY ) || 
-			( group_mask_on & PERM_MODIFY ) )
+			(everyone_mask_on & PERM_MODIFY ) )
 		{
 			selected_Media_editable = true;
 		}
-- 
GitLab