SL-20236 BugSplat Crash in LLVertexBuffer::validateRange(708)

master
Alexander Gavriliuk 2023-09-02 12:35:35 +02:00 committed by Guru
parent a44959c00a
commit f7e6b2e2e1
1 changed files with 1 additions and 1 deletions

View File

@ -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);