summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2022-03-04 16:37:02 +0200
committerMnikolenko Productengine <mnikolenko@productengine.com>2022-03-04 16:37:02 +0200
commit7d8170cd198154fe6f7932794bf41e61b14a7700 (patch)
tree997ff7c2fb595301aaff7ae5b7eafc6471525c92
parent97a103255e433629f13e2156aa307ca329cdcfc6 (diff)
SL-16495 FIXED crash when disabling "Animated Mesh"
-rw-r--r--indra/newview/llvovolume.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp
index 1625dd5276..f8728a5ab7 100644
--- a/indra/newview/llvovolume.cpp
+++ b/indra/newview/llvovolume.cpp
@@ -5689,6 +5689,8 @@ void LLVolumeGeometryManager::rebuildGeom(LLSpatialGroup* group)
pool->removeFace(facep);
}
facep->clearState(LLFace::RIGGED);
+ facep->mAvatar = NULL;
+ facep->mSkinInfo = NULL;
}
}