From a0e40cc7e45d4403f7f90b13df41449f7cc18a33 Mon Sep 17 00:00:00 2001 From: Beq Date: Thu, 24 Oct 2024 22:03:30 +0100 Subject: [PATCH] more Linux fixes. --- indra/newview/fsposeranimator.cpp | 3 ++- indra/newview/fsposingmotion.cpp | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/indra/newview/fsposeranimator.cpp b/indra/newview/fsposeranimator.cpp index 9fba902213..929e10b363 100644 --- a/indra/newview/fsposeranimator.cpp +++ b/indra/newview/fsposeranimator.cpp @@ -25,6 +25,7 @@ */ #include +#include #include "fsposeranimator.h" #include "llcharacter.h" #include "llagent.h" @@ -59,7 +60,7 @@ void FSPoserAnimator::setPosingAvatarJoint(LLVOAvatar *avatar, FSPoserJoint join return; bool arePosing = isPosingAvatarJoint(avatar, joint); - if (arePosing && shouldPose || !arePosing && !shouldPose) // could !XOR, but this is readable + if ( (arePosing && shouldPose) || (!arePosing && !shouldPose) ) // could !XOR, but this is readable return; FSPosingMotion* posingMotion = getPosingMotion(avatar); diff --git a/indra/newview/fsposingmotion.cpp b/indra/newview/fsposingmotion.cpp index 6caaae771f..9c0a8ebb9c 100644 --- a/indra/newview/fsposingmotion.cpp +++ b/indra/newview/fsposingmotion.cpp @@ -24,6 +24,7 @@ * $/LicenseInfo$ */ +#include #include "fsposingmotion.h" #include "llcharacter.h"