Fixed normal bug EXT-5220 (Remove Edit Appearance button from Me panel) - the button and respective code were removed.
Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/283/. --HG-- branch : product-enginemeow-7.2.2
parent
b02cabcb1b
commit
94791f7b27
|
|
@ -63,7 +63,6 @@ BOOL LLPanelMe::postBuild()
|
|||
LLPanelProfile::postBuild();
|
||||
|
||||
getTabContainer()[PANEL_PROFILE]->childSetAction("edit_profile_btn", boost::bind(&LLPanelMe::onEditProfileClicked, this), this);
|
||||
getTabContainer()[PANEL_PROFILE]->childSetAction("edit_appearance_btn", boost::bind(&LLPanelMe::onEditAppearanceClicked, this), this);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
|
@ -141,14 +140,6 @@ void LLPanelMe::onEditProfileClicked()
|
|||
togglePanel(mEditPanel, getAvatarId()); // open
|
||||
}
|
||||
|
||||
void LLPanelMe::onEditAppearanceClicked()
|
||||
{
|
||||
if (gAgentWearables.areWearablesLoaded())
|
||||
{
|
||||
gAgentCamera.changeCameraToCustomizeAvatar();
|
||||
}
|
||||
}
|
||||
|
||||
void LLPanelMe::onSaveChangesClicked()
|
||||
{
|
||||
LLAvatarData data = LLAvatarData();
|
||||
|
|
|
|||
|
|
@ -63,7 +63,6 @@ private:
|
|||
void buildEditPanel();
|
||||
|
||||
void onEditProfileClicked();
|
||||
void onEditAppearanceClicked();
|
||||
void onSaveChangesClicked();
|
||||
void onCancelClicked();
|
||||
|
||||
|
|
|
|||
|
|
@ -401,14 +401,6 @@
|
|||
name="edit_profile_btn"
|
||||
tool_tip="Edit your personal information"
|
||||
width="152" />
|
||||
<button
|
||||
follows="bottom|right"
|
||||
height="23"
|
||||
label="Edit Appearance"
|
||||
left_pad="3"
|
||||
name="edit_appearance_btn"
|
||||
tool_tip="Create/edit your appearance: physical data, clothes and etc."
|
||||
width="153" />
|
||||
</layout_panel>
|
||||
</layout_stack>
|
||||
</panel>
|
||||
|
|
|
|||
|
|
@ -389,14 +389,6 @@
|
|||
name="edit_profile_btn"
|
||||
tool_tip="Edit your personal information"
|
||||
width="130" />
|
||||
<button
|
||||
follows="bottom|right"
|
||||
height="23"
|
||||
label="Edit Appearance"
|
||||
left_pad="10"
|
||||
name="edit_appearance_btn"
|
||||
tool_tip="Create/edit your appearance: physical data, clothes and etc."
|
||||
width="130" />
|
||||
</layout_panel>
|
||||
|
||||
</layout_stack>
|
||||
|
|
|
|||
Loading…
Reference in New Issue