Try to fix quat and euler settings for bones

This commit is contained in:
KillzXGaming 2019-05-07 21:43:38 -04:00
parent df7ce35503
commit f86cb89716
5 changed files with 3 additions and 0 deletions

Binary file not shown.

View file

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