From c34413f9fe77ef11762f644a715146708e79ff1a Mon Sep 17 00:00:00 2001 From: Vadim ProductEngine Date: Tue, 24 Jan 2012 17:44:23 +0200 Subject: 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(). --- indra/newview/llvoavatarself.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'indra/newview/llvoavatarself.cpp') 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(item_params); -- cgit v1.2.3