Fix dae exporting weights FINALLY!
This commit is contained in:
parent
5d0254a5e2
commit
29e9a0533d
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -103,7 +103,9 @@ namespace Switch_Toolbox.Library
|
||||
//Check if the max amount of weights is higher than the current bone id
|
||||
if (v.boneWeights.Count > j)
|
||||
{
|
||||
if (v.boneWeights[j] <= 1)
|
||||
if (v.boneWeights[j] <= 0)
|
||||
mesh.Bones[boneInd].VertexWeights.Add(new VertexWeight(vertexID, 1));
|
||||
else if (v.boneWeights[j] <= 1)
|
||||
mesh.Bones[boneInd].VertexWeights.Add(new VertexWeight(vertexID, v.boneWeights[j]));
|
||||
else
|
||||
mesh.Bones[boneInd].VertexWeights.Add(new VertexWeight(vertexID, 1));
|
||||
|
Loading…
x
Reference in New Issue
Block a user