From 82fa52b092bc699b93c4d49259b1ca2f0eb69a50 Mon Sep 17 00:00:00 2001 From: Angeldark Raymaker Date: Tue, 22 Oct 2024 20:06:52 +0100 Subject: [PATCH] FIRE-30873: Fix BVH export export correct rotations --- indra/newview/fsposeranimator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/newview/fsposeranimator.cpp b/indra/newview/fsposeranimator.cpp index cfb629afd4..b7bfeea71d 100644 --- a/indra/newview/fsposeranimator.cpp +++ b/indra/newview/fsposeranimator.cpp @@ -877,8 +877,8 @@ bool FSPoserAnimator::writeBvhMotion(llofstream* fileStream, LLVOAvatar* avatar, if (!joint) return false; - auto rotation = getJointRotation(avatar, *joint, SWAP_NOTHING, NEGATE_NOTHING, false); - auto position = getJointPosition(avatar, *joint); + auto rotation = getJointRotation(avatar, *joint, SWAP_NOTHING, NEGATE_NOTHING, true); + auto position = getJointPosition(avatar, *joint, true); switch (joint->boneType()) {