mirror of
https://github.com/aelurum/AssetStudio.git
synced 2025-05-27 22:00:23 -04:00
Fixed #332
This commit is contained in:
parent
dec0a22ffe
commit
e602a5cf3b
@ -752,9 +752,9 @@ namespace AssetStudio
|
||||
}
|
||||
for (int i = 0; i < m_VertexCount; i++)
|
||||
{
|
||||
for (int j = 0; j < 4; j++)
|
||||
for (int j = 0; j < m_Channel.dimension; j++)
|
||||
{
|
||||
m_Skin[i].weight[j] = componentsFloatArray[i * 4 + j];
|
||||
m_Skin[i].weight[j] = componentsFloatArray[i * m_Channel.dimension + j];
|
||||
}
|
||||
}
|
||||
break;
|
||||
@ -765,9 +765,9 @@ namespace AssetStudio
|
||||
}
|
||||
for (int i = 0; i < m_VertexCount; i++)
|
||||
{
|
||||
for (int j = 0; j < 4; j++)
|
||||
for (int j = 0; j < m_Channel.dimension; j++)
|
||||
{
|
||||
m_Skin[i].boneIndex[j] = componentsIntArray[i * 4 + j];
|
||||
m_Skin[i].boneIndex[j] = componentsIntArray[i * m_Channel.dimension + j];
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user