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"