diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2016-12-20 16:38:18 +0200 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2016-12-20 16:38:18 +0200 |
commit | eee5f574fd5065adc4cd2f4ab61bc76668933234 (patch) | |
tree | 822dc76cc3fd939762e6da94bb6e23c1d657868c /indra/newview | |
parent | db8eb0f995889e222e38748dfee647058653e3f6 (diff) |
MAINT-7012 FIXED Crash in LLPanelEditWearable::isDirty()
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llsidepanelappearance.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llsidepanelappearance.cpp b/indra/newview/llsidepanelappearance.cpp index a32ed258f8..03fa2e2080 100644 --- a/indra/newview/llsidepanelappearance.cpp +++ b/indra/newview/llsidepanelappearance.cpp @@ -394,6 +394,11 @@ void LLSidepanelAppearance::toggleWearableEditPanel(BOOL visible, LLViewerWearab return; } + if(!visible) + { + mEditWearable->setWearable(NULL); + } + // If we're just switching between outfit and wearable editing or updating item, // don't end customization and don't switch camera // Don't end customization and don't switch camera without visibility change |