summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorAlexander Gavriliuk <alexandrgproductengine@lindenlab.com>2023-08-23 11:06:53 +0200
committerGuru <alexandrgproductengine@lindenlab.com>2023-08-23 18:16:43 +0200
commit85efb85acfa098998c0f1249320f7e08288efdfc (patch)
tree9f1a438b2095cd365adbc726ce5b9cdf51cd6668 /indra/newview
parent720504595a09a94d10ff07926e8d1274dcab440c (diff)
SL-19299 Viewer crashes after change 'Pick a physics model:' dropdown
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llmodelpreview.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llmodelpreview.cpp b/indra/newview/llmodelpreview.cpp
index 495153981b..519d11e2ad 100644
--- a/indra/newview/llmodelpreview.cpp
+++ b/indra/newview/llmodelpreview.cpp
@@ -270,6 +270,7 @@ void LLModelPreview::rebuildUploadData()
{
assert_main_thread();
+ mDefaultPhysicsShapeP = NULL;
mUploadData.clear();
mTextureSet.clear();