diff options
author | andreykproductengine <akleshchev@productengine.com> | 2015-06-05 16:30:04 +0300 |
---|---|---|
committer | andreykproductengine <akleshchev@productengine.com> | 2015-06-05 16:30:04 +0300 |
commit | b59770199afae70f8fa14b3f050d5f5d4818cb07 (patch) | |
tree | 112f4fe9a08eb1700062201482246fe429dfc35c /indra/newview/llsidepanelappearance.cpp | |
parent | 77b4f1d51c6e9d2b7d6711bfa38912ba4682c320 (diff) | |
parent | f3c58f765c0168f25bb13c4427e34b4bdad2f671 (diff) |
Merge from viewer-release
Diffstat (limited to 'indra/newview/llsidepanelappearance.cpp')
-rwxr-xr-x | indra/newview/llsidepanelappearance.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llsidepanelappearance.cpp b/indra/newview/llsidepanelappearance.cpp index 64f24cd291..ea7cf82674 100755 --- a/indra/newview/llsidepanelappearance.cpp +++ b/indra/newview/llsidepanelappearance.cpp @@ -212,7 +212,8 @@ void LLSidepanelAppearance::updateToVisibility(const LLSD &new_visibility) } if (is_wearable_edit_visible) { - if (gAgentWearables.getWearableIndex(wearable_ptr) == LLAgentWearables::MAX_CLOTHING_PER_TYPE) + U32 index; + if (!gAgentWearables.getWearableIndex(wearable_ptr,index)) { // we're no longer wearing the wearable we were last editing, switch back to outfit editor showOutfitEditPanel(); |