diff options
author | Don Kjer <don@lindenlab.com> | 2012-09-06 02:53:55 +0000 |
---|---|---|
committer | Don Kjer <don@lindenlab.com> | 2012-09-06 02:53:55 +0000 |
commit | 85d0bcc0630bfbf8b50be3a47a113c4f8d6ec9df (patch) | |
tree | aa12b717648de8e4f689055907bcfa7640907bd6 /indra/newview/llpaneleditwearable.cpp | |
parent | 2cb3b8ef6bbfa328e35b9c066f0b5c3ceebba55f (diff) |
Extracted mWearableDatas from LLAgentWearables into llappearance/LLWearableData. Moved LLDriverParam into llappearance
Diffstat (limited to 'indra/newview/llpaneleditwearable.cpp')
-rw-r--r-- | indra/newview/llpaneleditwearable.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpaneleditwearable.cpp b/indra/newview/llpaneleditwearable.cpp index 9aadca1d80..43bb1f57e0 100644 --- a/indra/newview/llpaneleditwearable.cpp +++ b/indra/newview/llpaneleditwearable.cpp @@ -922,7 +922,7 @@ void LLPanelEditWearable::onCommitSexChange() } bool is_new_sex_male = (gSavedSettings.getU32("AvatarSex") ? SEX_MALE : SEX_FEMALE) == SEX_MALE; - LLViewerWearable* wearable = gAgentWearables.getWearable(type, index); + LLViewerWearable* wearable = gAgentWearables.getViewerWearable(type, index); if (wearable) { wearable->setVisualParamWeight(param->getID(), is_new_sex_male, FALSE); |