1
0
mirror of synced 2025-01-19 01:14:08 +01:00

Get specific "Root" bones for botw

This commit is contained in:
KillzXGaming 2019-07-05 18:47:14 -04:00
parent d6e67ac6e6
commit 5a195e11af
4 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -431,7 +431,7 @@ namespace Switch_Toolbox.Library
bool IsBone = boneNames.Contains(Name) && !boneNames.Contains(ParentArmatureName) ||
Name.Contains("Skl_Root") || Name.Contains("nw4f_root") ||
Name.Contains("skl_root");
Name.Contains("skl_root") || Name == "Root";
if (IsBone)
return node;
@ -481,7 +481,7 @@ namespace Switch_Toolbox.Library
{
if (node.HasChildren)
{
var SklRoot = GetSklRoot(node, boneNames);
var SklRoot = GetSklRoot(node, boneNames);
if (SklRoot != null)
{
BuildSkeletonNodes(SklRoot, boneNames, skeleton, ref world);