mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 14:29:25 +00:00
VisualCloneFix: fixed null bone, forgor to push
This commit is contained in:
parent
bdf4a638b7
commit
1843820688
1 changed files with 5 additions and 1 deletions
|
@ -107,8 +107,12 @@ public static class Patches
|
||||||
|
|
||||||
// Populate the weights array
|
// Populate the weights array
|
||||||
for (int i = 0; i < boneCount; i++)
|
for (int i = 0; i < boneCount; i++)
|
||||||
if (exclusions.ContainsKey(bones[i]))
|
{
|
||||||
|
Transform bone = bones[i];
|
||||||
|
if (bone == null) continue;
|
||||||
|
if (exclusions.ContainsKey(bone))
|
||||||
boneHasExclusion[i] = true;
|
boneHasExclusion[i] = true;
|
||||||
|
}
|
||||||
|
|
||||||
const float minWeightThreshold = 0.2f;
|
const float minWeightThreshold = 0.2f;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue