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 +-- indra/newview/llpanelface.h | 4 ---- 2 files changed, 1 insertion(+), 6 deletions(-) (limited to 'indra/newview') 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"); diff --git a/indra/newview/llpanelface.h b/indra/newview/llpanelface.h index 35ac2d161d..0e3ee0ac63 100644 --- a/indra/newview/llpanelface.h +++ b/indra/newview/llpanelface.h @@ -260,10 +260,6 @@ private: // void updateVisibility(); - // Make material(s) reflect current state of UI (apply edit) - // - void updateMaterial(); - // Hey look everyone, a type-safe alternative to copy and paste! :) // -- cgit v1.2.3