diff options
| author | Vadim ProductEngine <vsavchuk@productengine.com> | 2012-01-24 17:44:23 +0200 | 
|---|---|---|
| committer | Vadim ProductEngine <vsavchuk@productengine.com> | 2012-01-24 17:44:23 +0200 | 
| commit | c34413f9fe77ef11762f644a715146708e79ff1a (patch) | |
| tree | 1799e15fa852555f4300f3dbe25cc230ab87329b | |
| parent | 0d04a4da7e7c1361e1ac805e2a135d826242fd2f (diff) | |
EXP-1838 FIXED Enabled detaching items from hands in the avatar detach menu.
Use the same on_click/on_enable actions as for the other attachment points.
See LLVOAvatarSelf::buildMenus().
| -rw-r--r-- | indra/newview/llvoavatarself.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/indra/newview/llvoavatarself.cpp b/indra/newview/llvoavatarself.cpp index 581912f844..12d08143ee 100644 --- a/indra/newview/llvoavatarself.cpp +++ b/indra/newview/llvoavatarself.cpp @@ -365,9 +365,9 @@ BOOL LLVOAvatarSelf::buildMenus()  						item_params.label = sub_piemenu_name;  					}  					item_params.name =(item_params.label ); -					item_params.on_click.function_name = "Attachment.Detach"; +					item_params.on_click.function_name = "Attachment.DetachFromPoint";  					item_params.on_click.parameter = iter->first; -					item_params.on_enable.function_name = "Attachment.EnableDetach"; +					item_params.on_enable.function_name = "Attachment.PointFilled";  					item_params.on_enable.parameter = iter->first;  					LLMenuItemCallGL* item = LLUICtrlFactory::create<LLMenuItemCallGL>(item_params); | 
