FIRE-30873: Fix BVH export

export correct rotations
meow-7.2.2
Angeldark Raymaker 2024-10-22 20:06:52 +01:00
parent 3f6231fe79
commit 82fa52b092
1 changed files with 2 additions and 2 deletions

View File

@ -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())
{