ignore broken bones from god knows what
This commit is contained in:
@@ -43,9 +43,16 @@ public sealed class XivDataAnalyzer
|
|||||||
outputIndices[skeletonName] = new();
|
outputIndices[skeletonName] = new();
|
||||||
for (ushort boneIdx = 0; boneIdx < curBones; boneIdx++)
|
for (ushort boneIdx = 0; boneIdx < curBones; boneIdx++)
|
||||||
{
|
{
|
||||||
var boneName = handle->HavokSkeleton->Bones[boneIdx].Name.String;
|
try
|
||||||
if (boneName == null) continue;
|
{
|
||||||
outputIndices[skeletonName].Add(boneIdx);
|
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++;
|
i++;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user