summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorAlexander Gavriliuk <alexandrgproductengine@lindenlab.com>2023-09-02 12:35:35 +0200
committerGuru <alexandrgproductengine@lindenlab.com>2023-09-02 17:38:12 +0200
commit0968e96462565f6a93dd2e2029122d5ad7023731 (patch)
tree85d2dd02ab1291437c0f3f50e9ab41a8dd39fae0 /indra/newview
parent0abaf6099824e431d873b6efbd5c3673b87755af (diff)
SL-20236 BugSplat Crash in LLVertexBuffer::validateRange(708)
Diffstat (limited to 'indra/newview')
-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 51cf5f20c6..02f5313db9 100644
--- a/indra/newview/llvopartgroup.cpp
+++ b/indra/newview/llvopartgroup.cpp
@@ -607,7 +607,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);