summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatermodelwizard.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2011-03-17 17:17:31 -0500
committerDave Parks <davep@lindenlab.com>2011-03-17 17:17:31 -0500
commit77869c9c1d80998055d35fa099dcb77f45699257 (patch)
treed41dfe8ead060538902821fbc95defb80203270f /indra/newview/llfloatermodelwizard.cpp
parent4b54ec7965cd874af4d0eef381d0bc9fe06cff04 (diff)
SH-587 Fix for crash when clicking cancel in model importer.
Diffstat (limited to 'indra/newview/llfloatermodelwizard.cpp')
-rw-r--r--indra/newview/llfloatermodelwizard.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfloatermodelwizard.cpp b/indra/newview/llfloatermodelwizard.cpp
index be43216b0e..eafea1fe03 100644
--- a/indra/newview/llfloatermodelwizard.cpp
+++ b/indra/newview/llfloatermodelwizard.cpp
@@ -590,7 +590,7 @@ void LLFloaterModelWizard::refresh()
{
bool model_loaded = false;
- if (mModelPreview && mModelPreview->mModelLoader && mModelPreview->mModelLoader->getLoadState() == LLModelLoader::DONE)
+ if (mModelPreview && mModelPreview->getLoadState() == LLModelLoader::DONE)
{
model_loaded = true;
}