Skip to content
This repository has been archived by the owner on Jan 21, 2023. It is now read-only.

Commit

Permalink
fixed bug in Mesh
Browse files Browse the repository at this point in the history
  • Loading branch information
Perfare committed Jan 17, 2017
1 parent 344f69f commit f60f7ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Unity Studio/Unity Classes/Mesh.cs
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ public Mesh(AssetPreloadData MeshPD)
a_Stream.Position += m_ShapeVertices_size * 40; //vertex positions, normals, tangents & uint index

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();
for (int c = 0; c < channels_size; c++)
Expand Down

0 comments on commit f60f7ac

Please sign in to comment.