mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-10 07:04:36 +00:00
Change GenericObject.GetMaxSkinInfluenceCount() to use boneWeights instead of boneIds as the latter might not be initialized when the function is used. (#631)
Co-authored-by: mctrollin <bla@blub.bla>
This commit is contained in:
parent
2dc89a04d5
commit
26bfe8b3ab
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ namespace Toolbox.Library
|
|||
|
||||
public byte GetMaxSkinInfluenceCount()
|
||||
{
|
||||
return (byte)vertices.Max(t => t.boneIds.Count);
|
||||
return (byte)vertices.Max(t => t.boneWeights.Count);
|
||||
}
|
||||
|
||||
public Vector3 GetOrigin()
|
||||
|
|
Loading…
Reference in a new issue