//static
void LLSidepanelAppearance::editWearable(LLViewerWearable *wearable, LLView *data, BOOL disable_camera_switch)
{
	LLFloaterSidePanelContainer::showPanel("appearance", LLSD());
	LLSidepanelAppearance *panel = dynamic_cast<LLSidepanelAppearance*>(data);
	if (panel)
	{	
		panel->showWearableEditPanel(wearable, disable_camera_switch);
	}
}
//static
void LLSidepanelAppearance::editWearable(LLWearable *wearable, LLView *data, BOOL disable_camera_switch)
{
	LLSideTray::getInstance()->showPanel("sidepanel_appearance");

	LLSidepanelAppearance *panel = dynamic_cast<LLSidepanelAppearance*>(data);
	if (panel)
	{
		panel->showWearableEditPanel(wearable, disable_camera_switch);
	}
}