1
0
mirror of synced 2024-09-24 11:38:22 +02:00

Fix an error when creating a new model with skeleton

This commit is contained in:
KillzXGaming 2019-05-25 14:33:21 -04:00
parent f6c7ff684f
commit 35f6b182e1
5 changed files with 8 additions and 0 deletions

Binary file not shown.

View File

@ -900,6 +900,9 @@ namespace FirstPlugin
}
public static void SaveSkeleton(FSKL fskl, List<STBone> Bones)
{
if (fskl.node.SkeletonU == null)
fskl.node.SkeletonU = new Skeleton();
fskl.node.SkeletonU.Bones.Clear();
fskl.node.SkeletonU.MatrixToBoneList = new List<ushort>();
fskl.node.SkeletonU.InverseModelMatrices = new List<Syroot.Maths.Matrix3x4>();

View File

@ -274,6 +274,11 @@
0,
0,
0});
this.rotateBonesUD.Minimum = new decimal(new int[] {
360,
0,
0,
-2147483648});
this.rotateBonesUD.Name = "rotateBonesUD";
this.rotateBonesUD.Size = new System.Drawing.Size(120, 16);
this.rotateBonesUD.TabIndex = 15;