summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAlexander Gavriliuk <alexandrgproductengine@lindenlab.com>2023-09-02 12:35:35 +0200
committerGuru <alexandrgproductengine@lindenlab.com>2023-09-05 16:47:01 +0200
commitf7e6b2e2e1335a0086ccaa2cf435c388a9858236 (patch)
treeacdf1a8de82d1184b04a7019ed3d82ec7a2d9305 /indra
parenta44959c00a8ec4675d40dcd81e217f905f948735 (diff)
SL-20236 BugSplat Crash in LLVertexBuffer::validateRange(708)
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llvopartgroup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llvopartgroup.cpp b/indra/newview/llvopartgroup.cpp
index 3ac04cf665..99874b8185 100644
--- a/indra/newview/llvopartgroup.cpp
+++ b/indra/newview/llvopartgroup.cpp
@@ -572,7 +572,7 @@ void LLVOPartGroup::getGeometry(const LLViewerPart& part,
up.setCross3(right, at);
up.normalize3fast();
- if (part.mFlags & LLPartData::LL_PART_FOLLOW_VELOCITY_MASK)
+ if (part.mFlags & LLPartData::LL_PART_FOLLOW_VELOCITY_MASK && !part.mVelocity.isExactlyZero())
{
LLVector4a normvel;
normvel.load3(part.mVelocity.mV);