2
0
Fork 0
mirror of https://github.com/GTA-ASM/SanAndreasUnity synced 2025-02-24 11:17:11 +00:00

fix loading anims when bone id is -1

This commit is contained in:
in0finite 2020-02-18 13:27:47 +01:00
parent 162d07f254
commit 21c8de6b1c

View file

@ -58,6 +58,9 @@ namespace SanAndreasUnity.Importing.Conversion
foreach (var bone in animation.Bones)
{
if (-1 == bone.BoneId) // what are these used for ?
continue;
var bFrames = bone.Frames;
var frame = frames.GetByBoneId(bone.BoneId);