summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-11-18 21:06:48 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-11-18 21:15:54 +0200
commitade79bc6f6b6269dbcb88f3dff2db6584d0c2f53 (patch)
tree67c1e35b47afa9a80f26f86effe2f9d9ca46379b /indra/newview/skins/default
parent32663643c77a931892a2f8e40e011c60bc726d4e (diff)
SL-18677 Disable materials UI when materials caps are not available
Diffstat (limited to 'indra/newview/skins/default')
-rw-r--r--indra/newview/skins/default/xui/en/menu_inventory.xml2
-rw-r--r--indra/newview/skins/default/xui/en/menu_inventory_add.xml2
2 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/skins/default/xui/en/menu_inventory.xml b/indra/newview/skins/default/xui/en/menu_inventory.xml
index 46dd0ada5d..5e2fd31301 100644
--- a/indra/newview/skins/default/xui/en/menu_inventory.xml
+++ b/indra/newview/skins/default/xui/en/menu_inventory.xml
@@ -474,6 +474,8 @@
<menu_item_call.on_click
function="Inventory.DoCreate"
parameter="material" />
+ <menu_item_call.on_enable
+ function="Inventory.MaterialsEnabled" />
</menu_item_call>
<menu
label="New Clothes"
diff --git a/indra/newview/skins/default/xui/en/menu_inventory_add.xml b/indra/newview/skins/default/xui/en/menu_inventory_add.xml
index 0e193521a3..fa40c5df90 100644
--- a/indra/newview/skins/default/xui/en/menu_inventory_add.xml
+++ b/indra/newview/skins/default/xui/en/menu_inventory_add.xml
@@ -104,6 +104,8 @@
<menu_item_call.on_click
function="Inventory.DoCreate"
parameter="material" />
+ <menu_item_call.on_enable
+ function="Inventory.MaterialsEnabled" />
</menu_item_call>
<menu
height="175"