diff options
author | Dave Parks <davep@lindenlab.com> | 2022-08-30 14:42:04 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2022-08-30 14:42:04 -0500 |
commit | 03d012d46cbcc6d67f6241ce66649e92688f246f (patch) | |
tree | 783c6589011954539ae4ea4d2592cfdf8dc5f35f /indra/newview/llpanelface.cpp | |
parent | e928e3fec4cd2b370421e592a1f01bb3874de67b (diff) |
SL-18038 Remove placeholder "save as material" button
Diffstat (limited to 'indra/newview/llpanelface.cpp')
-rw-r--r-- | indra/newview/llpanelface.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/indra/newview/llpanelface.cpp b/indra/newview/llpanelface.cpp index ec67a9cdc6..865529eb8f 100644 --- a/indra/newview/llpanelface.cpp +++ b/indra/newview/llpanelface.cpp @@ -178,7 +178,6 @@ BOOL LLPanelFace::postBuild() childSetAction("button align",&LLPanelFace::onClickAutoFix,this); childSetAction("button align textures", &LLPanelFace::onAlignTexture, this); - childSetAction("button save material", &LLPanelFace::onSaveMaterial, this); LLTextureCtrl* mTextureCtrl; LLTextureCtrl* mShinyTextureCtrl; @@ -1444,12 +1443,8 @@ void LLPanelFace::updateUI(bool force_set_values /*false*/) // enable this UI box if a single face is selected. BOOL is_single_face = !LLSelectMgr::getInstance()->getSelection()->isMultipleTESelected(); - childSetEnabled("button save material", static_cast<bool>(is_single_face)); childSetEnabled("materialID", static_cast<bool>(is_single_face)); // doesn't work - why? - // TODO: 2022-04 conflicts with media button placement. hide the button if applying media - // i.e. childSetVisible("button save material", !applying_media); - if (material && editable) { LL_DEBUGS("Materials") << material->asLLSD() << LL_ENDL; |