From c7624892b25824e80c79a9c5d7c3ae3f23410fc6 Mon Sep 17 00:00:00 2001 From: "Matthew Breindel (Falcon)" Date: Wed, 15 Sep 2010 13:24:15 -0700 Subject: Fixed threading-related crash that would occur when decomposition completed. --- indra/newview/llfloatermodelpreview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llfloatermodelpreview.cpp b/indra/newview/llfloatermodelpreview.cpp index a78d0075c2..85035fb961 100644 --- a/indra/newview/llfloatermodelpreview.cpp +++ b/indra/newview/llfloatermodelpreview.cpp @@ -3409,7 +3409,7 @@ void LLFloaterModelPreview::onModelDecompositionComplete(LLModel* model, std::ve { sInstance->mModelPreview->mPhysicsMesh[model] = physics_mesh; - sInstance->mModelPreview->mResourceCost = sInstance->mModelPreview->calcResourceCost(); + sInstance->mModelPreview->mDirty = true; } } -- cgit v1.2.3