diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2022-11-18 21:06:48 +0200 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2022-11-18 21:15:54 +0200 |
commit | ade79bc6f6b6269dbcb88f3dff2db6584d0c2f53 (patch) | |
tree | 67c1e35b47afa9a80f26f86effe2f9d9ca46379b /indra/newview/skins/default/xui/en | |
parent | 32663643c77a931892a2f8e40e011c60bc726d4e (diff) |
SL-18677 Disable materials UI when materials caps are not available
Diffstat (limited to 'indra/newview/skins/default/xui/en')
-rw-r--r-- | indra/newview/skins/default/xui/en/menu_inventory.xml | 2 | ||||
-rw-r--r-- | indra/newview/skins/default/xui/en/menu_inventory_add.xml | 2 |
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" |