2
0
Fork 0
mirror of https://github.com/KillzXGaming/Switch-Toolbox synced 2025-03-13 13:26:58 +00: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();