mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 16:27:22 +01:00
ignore broken bones from god knows what
This commit is contained in:
parent
49e78187d6
commit
09b0383ad4
1 changed files with 10 additions and 3 deletions
|
|
@ -43,9 +43,16 @@ public sealed class XivDataAnalyzer
|
|||
outputIndices[skeletonName] = new();
|
||||
for (ushort boneIdx = 0; boneIdx < curBones; boneIdx++)
|
||||
{
|
||||
var boneName = handle->HavokSkeleton->Bones[boneIdx].Name.String;
|
||||
if (boneName == null) continue;
|
||||
outputIndices[skeletonName].Add(boneIdx);
|
||||
try
|
||||
{
|
||||
var boneName = handle->HavokSkeleton->Bones[boneIdx].Name.String;
|
||||
if (boneName == null) continue;
|
||||
outputIndices[skeletonName].Add(boneIdx);
|
||||
}
|
||||
catch
|
||||
{
|
||||
_logger.LogTrace("Could not get bone for {skellyname}:{idx}", skeletonName, boneIdx);
|
||||
}
|
||||
}
|
||||
i++;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue