diff options
author | Dave Parks <davep@lindenlab.com> | 2011-06-07 00:22:49 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-06-07 00:22:49 -0500 |
commit | 81af06c95490a54e69b6bbf01ae2ef98adb66a02 (patch) | |
tree | be38a2b0ae2994a82dffd92a7ec8be34d370c08b | |
parent | b90bc83f3d7bb8a7c0d953dd2792c1901d5a1e72 (diff) |
Fix for crash on clicking cancel while a model is still loading.
-rw-r--r-- | indra/newview/llfloatermodelpreview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfloatermodelpreview.cpp b/indra/newview/llfloatermodelpreview.cpp index 675edd7643..1f6199ffb2 100644 --- a/indra/newview/llfloatermodelpreview.cpp +++ b/indra/newview/llfloatermodelpreview.cpp @@ -2787,7 +2787,7 @@ LLModelPreview::~LLModelPreview() { if (mModelLoader) { - delete mModelLoader; + mModelLoader->mPreview = NULL; mModelLoader = NULL; } //*HACK : *TODO : turn this back on when we understand why this crashes |