diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2024-05-07 00:48:04 +0300 |
---|---|---|
committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2024-05-07 02:43:35 +0300 |
commit | 26f70456d1e9059c48d25e08fc07f893315b1f3c (patch) | |
tree | 588a83ee345d3669d8500155e410361cdea8e2e8 | |
parent | d738aa7d640ab36eca56a6b9b07bea013d54c769 (diff) |
viewer#1195 Don't allow Bake textures as group images
-rw-r--r-- | indra/newview/llpanelgroupcreate.cpp | 1 | ||||
-rw-r--r-- | indra/newview/llpanelgroupgeneral.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llpanelgroupcreate.cpp b/indra/newview/llpanelgroupcreate.cpp index 01a4ab0455..913db0e198 100644 --- a/indra/newview/llpanelgroupcreate.cpp +++ b/indra/newview/llpanelgroupcreate.cpp @@ -85,6 +85,7 @@ BOOL LLPanelGroupCreate::postBuild() mInsignia = getChild<LLTextureCtrl>("insignia", TRUE); mInsignia->setAllowLocalTexture(FALSE); + mInsignia->setBakeTextureEnabled(FALSE); mInsignia->setCanApplyImmediately(FALSE); return TRUE; diff --git a/indra/newview/llpanelgroupgeneral.cpp b/indra/newview/llpanelgroupgeneral.cpp index 04d3236bf1..6aecef8d68 100644 --- a/indra/newview/llpanelgroupgeneral.cpp +++ b/indra/newview/llpanelgroupgeneral.cpp @@ -197,6 +197,7 @@ void LLPanelGroupGeneral::setupCtrls(LLPanel* panel_group) { mInsignia->setCommitCallback(onCommitAny, this); mInsignia->setAllowLocalTexture(FALSE); + mInsignia->setBakeTextureEnabled(FALSE); } mFounderName = getChild<LLTextBox>("founder_name"); |