FIRE-34747: Fix collision volumes

broken after refactor; tidy up
master
Angeldark Raymaker 2024-11-12 22:14:43 +00:00
parent d38a74ef23
commit 1b3b0862e0
4 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
/**
* @file fsposingmotion.cpp
* @brief Model for posing your (and other) avatar(s).
* @file fsjointpose.cpp
* @brief Container for the pose of a joint.
*
* $LicenseInfo:firstyear=2024&license=viewerlgpl$
* Phoenix Firestorm Viewer Source Code

View File

@ -198,7 +198,7 @@ class FSJointPose
LLQuaternion deltaRotation;
LLQuaternion getTargetRotation() const { return deltaRotation * baseRotation; }
void reflectRotation()
void reflectRotation()
{
baseRotation.mQ[VX] *= -1;
baseRotation.mQ[VZ] *= -1;

View File

@ -59,7 +59,7 @@ LLMotion::LLMotionInitStatus FSPosingMotion::onInitialize(LLCharacter *character
if (!targetJoint)
continue;
FSJointPose jointPose = FSJointPose(targetJoint, true);
FSJointPose jointPose = FSJointPose(targetJoint, POSER_JOINT_STATE, true);
mJointPoses.push_back(jointPose);
addJointState(jointPose.getJointState());

View File

@ -807,7 +807,7 @@ width="403">
label="Reset base-rotation on edit"
follows="left|top"
left="5"
tool_tip="When you first edit a rotation, reset it to zero. This means you save a pose and not a diff (see load/save). A green ticks appears next each joint that will export."
tool_tip="When you first edit a rotation, reset it to zero. This means your work can save a pose (and not a diff see load/save). A green tick appears next each joint you have zero-ed export."
top_pad="5"
width="134" />
</panel>