diff --git a/Assets/MA_ToolBox/MA_Utilities/MeshUtils/MA_MeshUtils.cs b/Assets/MA_ToolBox/MA_Utilities/MeshUtils/MA_MeshUtils.cs index 5ece2cd..2b07dd3 100644 --- a/Assets/MA_ToolBox/MA_Utilities/MeshUtils/MA_MeshUtils.cs +++ b/Assets/MA_ToolBox/MA_Utilities/MeshUtils/MA_MeshUtils.cs @@ -43,7 +43,6 @@ namespace MA_Mesh { name = mesh.name, bounds = mesh.bounds, - colors = mesh.colors, subMeshCount = mesh.subMeshCount }; @@ -55,6 +54,7 @@ namespace MA_Mesh newMesh.SetNormals(new List(mesh.normals)); newMesh.SetUVs(0, new List(mesh.uv)); newMesh.SetTangents(new List(mesh.tangents)); + newMesh.SetColors(new List(mesh.colors)); return newMesh; }