mirror of
https://github.com/aelurum/AssetStudio.git
synced 2025-05-25 05:40:21 -04:00
fixed bug
This commit is contained in:
parent
d335aaef9e
commit
465c989e75
@ -360,7 +360,7 @@ namespace AssetStudio
|
|||||||
if (mesh.m_Tangents != null && mesh.m_Tangents.Length == mesh.m_VertexCount * 4)
|
if (mesh.m_Tangents != null && mesh.m_Tangents.Length == mesh.m_VertexCount * 4)
|
||||||
{
|
{
|
||||||
iMesh.hasTangent = true;
|
iMesh.hasTangent = true;
|
||||||
iVertex.Tangent = new Vector4(-mesh.m_Tangents[j * 4], mesh.m_Tangents[j * 4 + 1], mesh.m_Tangents[j * 4 + 2], -mesh.m_Tangents[j * 4 + 3]);
|
iVertex.Tangent = new Vector4(-mesh.m_Tangents[j * 4], mesh.m_Tangents[j * 4 + 1], mesh.m_Tangents[j * 4 + 2], mesh.m_Tangents[j * 4 + 3]);
|
||||||
}
|
}
|
||||||
//BoneInfluence
|
//BoneInfluence
|
||||||
if (mesh.m_Skin?.Length > 0)
|
if (mesh.m_Skin?.Length > 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user