From 05693d480fdbfcda44f8670c8970338a4b66fc45 Mon Sep 17 00:00:00 2001 From: Andrey Kleshchev Date: Tue, 18 Jan 2022 19:44:09 +0200 Subject: SL-16344 #5 Cleanup --- indra/newview/llpanelface.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'indra/newview/llpanelface.cpp') diff --git a/indra/newview/llpanelface.cpp b/indra/newview/llpanelface.cpp index 53e73ac756..dd89efda3e 100644 --- a/indra/newview/llpanelface.cpp +++ b/indra/newview/llpanelface.cpp @@ -1831,7 +1831,7 @@ bool LLPanelFace::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; } @@ -2405,7 +2405,6 @@ void LLPanelFace::onCommitMaterialsMedia(LLUICtrl* ctrl, void* userdata) self->refreshMedia(); } -// static void LLPanelFace::updateVisibility() { LLRadioGroup* radio_mat_type = getChild("radio_material_type"); -- cgit v1.3