summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2016-12-20 16:38:18 +0200
committerMnikolenko Productengine <mnikolenko@productengine.com>2016-12-20 16:38:18 +0200
commiteee5f574fd5065adc4cd2f4ab61bc76668933234 (patch)
tree822dc76cc3fd939762e6da94bb6e23c1d657868c /indra/newview
parentdb8eb0f995889e222e38748dfee647058653e3f6 (diff)
MAINT-7012 FIXED Crash in LLPanelEditWearable::isDirty()
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llsidepanelappearance.cpp5
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