parent
d38a74ef23
commit
1b3b0862e0
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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());
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue