mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-16 01:37:55 +00:00
Try to fix quat and euler settings for bones
This commit is contained in:
parent
df7ce35503
commit
f86cb89716
5 changed files with 3 additions and 0 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -197,14 +197,17 @@ namespace FirstPlugin
|
|||
|
||||
if ((BoneFlagsRotation)rotModeCB.SelectedItem == BoneFlagsRotation.Quaternion)
|
||||
{
|
||||
activeBone.RotationType = STBone.BoneRotationType.Quaternion;
|
||||
activeBone.ConvertToQuaternion();
|
||||
SetBoneTransform(activeBone);
|
||||
}
|
||||
else
|
||||
{
|
||||
activeBone.RotationType = STBone.BoneRotationType.Euler;
|
||||
activeBone.ConvertToEular();
|
||||
SetBoneTransform(activeBone);
|
||||
}
|
||||
activeBone.skeletonParent.reset();
|
||||
}
|
||||
|
||||
private void boneInfoPanel1_Load(object sender, EventArgs e)
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue