diff options
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llavataractions.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/indra/newview/llavataractions.cpp b/indra/newview/llavataractions.cpp index ebd8296fda..02dbfd0af6 100644 --- a/indra/newview/llavataractions.cpp +++ b/indra/newview/llavataractions.cpp @@ -643,12 +643,11 @@ namespace action_give_inventory //static void LLAvatarActions::shareWithAvatars() { - llerrs << "Needs to be fixed to work with LLAvatarName" << llendl; -// using namespace action_give_inventory; -// -// LLFloaterAvatarPicker* picker = -// LLFloaterAvatarPicker::show(boost::bind(give_inventory, _1, _2), TRUE, FALSE); -// picker->setOkBtnEnableCb(boost::bind(is_give_inventory_acceptable)); + using namespace action_give_inventory; + + LLFloaterAvatarPicker* picker = + LLFloaterAvatarPicker::show(boost::bind(give_inventory, _1, _2), TRUE, FALSE); + picker->setOkBtnEnableCb(boost::bind(is_give_inventory_acceptable)); } // static |