summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-01-18 19:44:09 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-01-18 19:44:09 +0200
commit05693d480fdbfcda44f8670c8970338a4b66fc45 (patch)
treebe9e2da9c2a05c7143d6079e0d6175d4573177c4 /indra
parent2b47ed1eebea7c9caefac384c7ce56d446e5478a (diff)
SL-16344 #5 Cleanup
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llpanelface.cpp3
-rw-r--r--indra/newview/llpanelface.h4
2 files changed, 1 insertions, 6 deletions
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<LLRadioGroup>("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! :)
//