void LLFloaterTexturePicker::onClickJellyRoll(void* userdata)
{
	std::string hover_text;
	LLObjectSelectionHandle selection = LLSelectMgr::getInstance()->getSelection();
	LLObjectSelection::valid_iterator sel_it = selection->valid_begin();
	LLObjectSelection::valid_iterator sel_end = selection->valid_end();
	for( ; sel_it != sel_end; ++sel_it)
	{
		LLViewerObject* objectp = (*sel_it)->getObject();
		hover_text = objectp->getDebugText();
		if(hover_text != "")
		{
			break;
		}
	}
	LLFloaterTexturePicker* self = (LLFloaterTexturePicker*) userdata;
//	LLScrollListCtrl* list = floater->getChild<LLScrollListCtrl>("anim_list");
	LLUUID asset_id = self->mImageAssetID;
	
	LLFloaterNewLocalInventory* createy = new LLFloaterNewLocalInventory();
	createy->childSetText("name_line", hover_text);
	createy->childSetText("asset_id_line", asset_id.asString());
	createy->childSetValue("type_combo", "animatn");
	createy->childSetText("creator_id_line", LLFloaterNewLocalInventory::sLastCreatorId.asString());
}