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

don't log warnings for bones with id -1

This commit is contained in:
in0finite 2020-03-22 01:00:52 +01:00
parent e8581c0fee
commit e3d81d0c03

View file

@ -60,7 +60,8 @@ namespace SanAndreasUnity.Importing.Conversion
{
if (!frames.HasBoneWithId(bone.BoneId)) // what are these used for ?
{
Debug.LogWarning($"Bone with id {bone.BoneId} does not exist");
if (bone.BoneId != -1)
Debug.LogWarning($"Bone with id {bone.BoneId} does not exist");
continue;
}