diff options
author | Andrew Dyukov <adyukov@productengine.com> | 2010-07-15 21:07:16 +0300 |
---|---|---|
committer | Andrew Dyukov <adyukov@productengine.com> | 2010-07-15 21:07:16 +0300 |
commit | a97485fa60f1b1f29d8109b79450ab993880529c (patch) | |
tree | e5a1cc233a66f974ce7ff778207a0ca2e0de4211 /indra/newview/skins/default/xui/en/menu_inspect_object_gear.xml | |
parent | 875fb0d72bd39789f506e59ec79bc7252012bfb7 (diff) |
EXT-8385 FIXED Fixed simultaneous availability to click "Sit here" and "Stand Up" on object.
Made only one of them enabled in the same time, didn't make disabled one invisible because it was decided so in EXT-8094.
- This bug is the result of EXT-8094 fix. Corrected logic of enabling "Sit here" and "Stand up" both in xml and code.
- Removed class LLObjectEnableSitOrStand because it's not needed anymore, and it's handleEvent() method duplicates is_object_sittable() function.
- Renamed Object.EnableSit to Object.EnableGearSit because its name is now used for enabling object menu sit, and this "simple" version is used only from object inspector's gear menu.
Reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/761
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/skins/default/xui/en/menu_inspect_object_gear.xml')
-rw-r--r-- | indra/newview/skins/default/xui/en/menu_inspect_object_gear.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/skins/default/xui/en/menu_inspect_object_gear.xml b/indra/newview/skins/default/xui/en/menu_inspect_object_gear.xml index 22df02cd7e..b6f00ef6d1 100644 --- a/indra/newview/skins/default/xui/en/menu_inspect_object_gear.xml +++ b/indra/newview/skins/default/xui/en/menu_inspect_object_gear.xml @@ -22,7 +22,7 @@ <menu_item_call.on_click function="InspectObject.Sit"/> <menu_item_call.on_visible - function="Object.EnableSit" /> + function="Object.EnableGearSit" /> </menu_item_call> <menu_item_call label="Pay" |