diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2022-08-03 01:46:01 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2022-08-03 01:46:01 +0300 |
commit | 70009d21b2dd51c2c3cc6d9195e048051ca00699 (patch) | |
tree | 703012c9bb9fd7bb9631722daf25ccd362e20093 /indra/llprimitive/lldaeloader.cpp | |
parent | 68d78dd183ec639703f4033ef9047e1988c3ef0e (diff) |
SL-17890 Face creation does not clean used arrays
Diffstat (limited to 'indra/llprimitive/lldaeloader.cpp')
-rw-r--r-- | indra/llprimitive/lldaeloader.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/llprimitive/lldaeloader.cpp b/indra/llprimitive/lldaeloader.cpp index e89690438e..7a138578a5 100644 --- a/indra/llprimitive/lldaeloader.cpp +++ b/indra/llprimitive/lldaeloader.cpp @@ -330,7 +330,10 @@ LLModel::EModelStatus load_face_from_dom_triangles( // VFExtents change face.mExtents[0].set(v[0], v[1], v[2]); face.mExtents[1].set(v[0], v[1], v[2]); - point_map.clear(); + + verts.clear(); + indices.clear(); + point_map.clear(); } } |