summaryrefslogtreecommitdiff
path: root/indra/newview/llvopartgroup.cpp
diff options
context:
space:
mode:
authorAlexander Gavriliuk <alexandrgproductengine@lindenlab.com>2023-09-02 12:35:35 +0200
committerAlexander Gavriliuk <alexandrgproductengine@lindenlab.com>2023-09-15 13:17:09 +0200
commit06dd9c31476218a8bb097887971668d10590b5e5 (patch)
tree148b0da229b35be6e03c8f2993c20861f5fa4ae4 /indra/newview/llvopartgroup.cpp
parentf01d0dba2b9b1e0bb61a771ccabf17a12c92bfa0 (diff)
SL-20236 BugSplat Crash in LLVertexBuffer::validateRange(708)
Diffstat (limited to 'indra/newview/llvopartgroup.cpp')
-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);