summaryrefslogtreecommitdiff
path: root/indra/newview/llmeshrepository.cpp
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2011-06-09 17:08:17 -0600
committerXiaohong Bao <bao@lindenlab.com>2011-06-09 17:08:17 -0600
commitfa4d4469dd229030b46c11c6060fdbcfaec12e41 (patch)
tree620f99cda028e4ddee4f9243d69b4fbab1dc6814 /indra/newview/llmeshrepository.cpp
parentf14fc028af5f75601eaaedf5ed3923a9d039bad7 (diff)
parent73226014555b028ae2bdec29b8c7d60e6c20c2df (diff)
Automated merge with https://bitbucket.org/davep/mesh-asset-deprecation
Diffstat (limited to 'indra/newview/llmeshrepository.cpp')
-rwxr-xr-xindra/newview/llmeshrepository.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llmeshrepository.cpp b/indra/newview/llmeshrepository.cpp
index 7568f3659b..111802cd47 100755
--- a/indra/newview/llmeshrepository.cpp
+++ b/indra/newview/llmeshrepository.cpp
@@ -1640,7 +1640,10 @@ void LLMeshUploadThread::doWholeModelUpload()
llassert(physics != NULL);
DecompRequest* request = new DecompRequest(physics, data.mBaseModel, this);
- gMeshRepo.mDecompThread->submitRequest(request);
+ if(request->isValid())
+ {
+ gMeshRepo.mDecompThread->submitRequest(request);
+ }
}
while (!mPhysicsComplete)