diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2022-10-25 19:55:59 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2022-10-25 19:56:17 +0300 |
commit | 687a012a695bb7da55fc2b9b220f48de658cb8b6 (patch) | |
tree | d923ea509ff5e8ef530e6aabc3fd7cbcfb206ca5 /indra/newview/skins/default/xui | |
parent | ed1e5214cefc5f0aeb630bf2fbcda9dff9ed8d61 (diff) |
SL-18008 Add "Save/Edit Materials" buttons to attachment's right click menu
Diffstat (limited to 'indra/newview/skins/default/xui')
-rw-r--r-- | indra/newview/skins/default/xui/en/menu_attachment_self.xml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/indra/newview/skins/default/xui/en/menu_attachment_self.xml b/indra/newview/skins/default/xui/en/menu_attachment_self.xml index 3b91b9df7a..630a1981df 100644 --- a/indra/newview/skins/default/xui/en/menu_attachment_self.xml +++ b/indra/newview/skins/default/xui/en/menu_attachment_self.xml @@ -13,6 +13,22 @@ function="EnableEdit" /> </menu_item_call> <menu_item_call + label="Edit PBR Material" + name="EditGLTFMaterial"> + <menu_item_call.on_click + function="Object.EditGLTFMaterial" /> + <menu_item_call.on_enable + function="Object.EnableEditGLTFMaterial"/> + </menu_item_call> + <menu_item_call + label="Save material to inventory" + name="SaveGLTFMaterial"> + <menu_item_call.on_click + function="Object.SaveGLTFMaterial" /> + <menu_item_call.on_enable + function="Object.EnableSaveGLTFMaterial"/> + </menu_item_call> + <menu_item_call enabled="false" label="Detach item" layout="topleft" |