summaryrefslogtreecommitdiff
path: root/indra/llprimitive/llmodel.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-12-14 22:51:18 +0200
committerakleshchev <117672381+akleshchev@users.noreply.github.com>2023-12-15 03:51:36 +0200
commit8ea1f4a3fc77145cb60a7b8182e0da9c0e43ed69 (patch)
tree3a2640d7532d80c9118ecab86a0cb5c7396c7418 /indra/llprimitive/llmodel.cpp
parent009cd9adccd117357fa4054c523218a0e990bb80 (diff)
SL-15628 Crash inside ~LLModelInstanceBase
More explicit cleanup in hopes of narrowing down which of the models failed
Diffstat (limited to 'indra/llprimitive/llmodel.cpp')
-rw-r--r--indra/llprimitive/llmodel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llprimitive/llmodel.cpp b/indra/llprimitive/llmodel.cpp
index ee493968de..68a7f29378 100644
--- a/indra/llprimitive/llmodel.cpp
+++ b/indra/llprimitive/llmodel.cpp
@@ -67,6 +67,7 @@ LLModel::~LLModel()
{
LLConvexDecomposition::getInstance()->deleteDecomposition(mDecompID);
}
+ mPhysics.mMesh.clear();
}
//static