diff options
author | Rye <rye@lindenlab.com> | 2024-10-29 20:24:03 -0700 |
---|---|---|
committer | Rye <rye@lindenlab.com> | 2024-10-30 22:08:05 -0700 |
commit | 2039009f6c5aac15e85a41bd35ad38763d25ad5f (patch) | |
tree | c7eef02ea0cf1c4bc5f35b28121642d8427ad4eb | |
parent | dadc70a8b7dec67191efbad3459d804e393bf9b8 (diff) |
Fix LLMutexLock usage in LLModelPreview
-rw-r--r-- | indra/newview/llmodelpreview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llmodelpreview.cpp b/indra/newview/llmodelpreview.cpp index 1e7da126b0..ecca593d51 100644 --- a/indra/newview/llmodelpreview.cpp +++ b/indra/newview/llmodelpreview.cpp @@ -3565,7 +3565,7 @@ bool LLModelPreview::render() LLPhysicsDecomp* decomp = gMeshRepo.mDecompThread; if (decomp) { - LLMutexLock(decomp->mMutex); + LLMutexLock lock(decomp->mMutex); LLModel::Decomposition& physics = model->mPhysics; @@ -3686,7 +3686,7 @@ bool LLModelPreview::render() LLPhysicsDecomp* decomp = gMeshRepo.mDecompThread; if (decomp) { - LLMutexLock(decomp->mMutex); + LLMutexLock lock(decomp->mMutex); LLModel::Decomposition& physics = model->mPhysics; |