SL-16793 Potential crash at createSide

meow-7.2.2
Andrey Kleshchev 2022-07-07 00:01:33 +03:00
parent 9a8ab9592d
commit a330095650
1 changed files with 1 additions and 1 deletions

View File

@ -6821,7 +6821,7 @@ BOOL LLVolumeFace::createSide(LLVolume* volume, BOOL partial_build)
LLVector4a* norm = mNormals;
static LLAlignedArray<LLVector4a, 64> triangle_normals;
static thread_local LLAlignedArray<LLVector4a, 64> triangle_normals;
try
{
triangle_normals.resize(count);