mirror of
https://github.com/maxartz15/VertexAnimation.git
synced 2024-11-12 15:35:30 +01:00
Mesh Copy Index Format.
This commit is contained in:
parent
5edd6e5302
commit
468d1472c2
@ -9,6 +9,7 @@ namespace TAO.VertexAnimation
|
||||
Mesh copy = new Mesh
|
||||
{
|
||||
name = mesh.name,
|
||||
indexFormat = mesh.indexFormat,
|
||||
vertices = mesh.vertices,
|
||||
triangles = mesh.triangles,
|
||||
normals = mesh.normals,
|
||||
@ -21,7 +22,7 @@ namespace TAO.VertexAnimation
|
||||
uv5 = mesh.uv5,
|
||||
uv6 = mesh.uv6,
|
||||
uv7 = mesh.uv7,
|
||||
uv8 = mesh.uv8,
|
||||
uv8 = mesh.uv8
|
||||
};
|
||||
|
||||
copy.RecalculateBounds();
|
||||
|
Loading…
Reference in New Issue
Block a user