1
0
mirror of synced 2025-02-20 12:41:10 +01:00

GFBMDL : Fix node index

This commit is contained in:
KillzXGaming 2019-12-11 19:59:31 -05:00
parent 08552f5eb6
commit 5da4e421d7

View File

@ -463,8 +463,8 @@ namespace FirstPlugin
bone.RadiusEnd = new GFMDLStructs.Vector3(0, 0, 0);
bone.RigidCheck = new BoneRigidData();
int NodeIndex = Model.Model.Bones.IndexOf(bone);
Model.Model.Bones.Add(bone);
int NodeIndex = Model.Model.Bones.IndexOf(bone);
//Now create the associated group
var group = new Group();