From 21ec3ed509bd0143cd9aa487c01cbf34f42169fc Mon Sep 17 00:00:00 2001 From: Beq Date: Wed, 1 Oct 2025 17:42:24 +0100 Subject: [PATCH] 'this' can't be null so gcc rejects it --- indra/newview/fsposingmotion.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/newview/fsposingmotion.cpp b/indra/newview/fsposingmotion.cpp index 9c4772d309..4d9a51b8b3 100644 --- a/indra/newview/fsposingmotion.cpp +++ b/indra/newview/fsposingmotion.cpp @@ -312,7 +312,7 @@ void FSPosingMotion::getJointStateAtTime(std::string jointPoseName, F32 timeToLo bool* hasPosition, LLVector3* jointPosition, bool* hasScale, LLVector3* jointScale) { - if (this == NULL || mJointMotionList == nullptr) + if ( mJointMotionList == nullptr) return; for (U32 i = 0; i < mJointMotionList->getNumJointMotions(); i++) @@ -348,7 +348,7 @@ bool FSPosingMotion::otherMotionAnimatesJoints(LLKeyframeMotion* motionToQuery, bool FSPosingMotion::motionAnimatesJoints(std::string recapturedJointNames) { - if (this == NULL || mJointMotionList == nullptr) + if (mJointMotionList == nullptr) return false; for (U32 i = 0; i < mJointMotionList->getNumJointMotions(); i++)