From f60f7ac413d096f446a8560aa770eec1a0cf3c4d Mon Sep 17 00:00:00 2001 From: Perfare Date: Tue, 17 Jan 2017 20:59:36 +0800 Subject: [PATCH] fixed bug in Mesh --- Unity Studio/Unity Classes/Mesh.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Unity Studio/Unity Classes/Mesh.cs b/Unity Studio/Unity Classes/Mesh.cs index 243eb71..a3bbb01 100644 --- a/Unity Studio/Unity Classes/Mesh.cs +++ b/Unity Studio/Unity Classes/Mesh.cs @@ -422,7 +422,7 @@ namespace Unity_Studio 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++)