Get specific "Root" bones for botw
This commit is contained in:
parent
d6e67ac6e6
commit
5a195e11af
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user