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:
parent
e8581c0fee
commit
e3d81d0c03
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue