mirror of
https://github.com/aelurum/AssetStudio.git
synced 2025-06-03 00:58:13 -04:00
fixed bug in Mesh
This commit is contained in:
parent
344f69fddc
commit
f60f7ac413
@ -422,7 +422,7 @@ namespace Unity_Studio
|
|||||||
a_Stream.Position += m_ShapeVertices_size * 40; //vertex positions, normals, tangents & uint index
|
a_Stream.Position += m_ShapeVertices_size * 40; //vertex positions, normals, tangents & uint index
|
||||||
|
|
||||||
int shapes_size = a_Stream.ReadInt32();
|
int shapes_size = a_Stream.ReadInt32();
|
||||||
a_Stream.Position += shapes_size * 12; //uint firstVertex, vertexCount; bool hasNormals, hasTangents
|
a_Stream.Position += shapes_size * 10; //uint firstVertex, vertexCount; bool hasNormals, hasTangents
|
||||||
|
|
||||||
int channels_size = a_Stream.ReadInt32();
|
int channels_size = a_Stream.ReadInt32();
|
||||||
for (int c = 0; c < channels_size; c++)
|
for (int c = 0; c < channels_size; c++)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user