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:
parent
162d07f254
commit
21c8de6b1c
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue