Skip to content

Commit

Permalink
rm mesh name if none is given in the file
Browse files Browse the repository at this point in the history
  • Loading branch information
hybridherbst committed Sep 20, 2022
1 parent 86fe1d3 commit 16a6983
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions UnityGLTF/Assets/UnityGLTF/Editor/Scripts/GLTFImporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,6 @@ string GetUniqueName(string desiredName)
collider.sharedMesh = mesh;
}
var meshName = string.IsNullOrEmpty(mesh.name) ? mf.gameObject.name : mesh.name;
mesh.name = meshName;
return mesh;
}).Where(x => x).ToArray();

Expand Down

0 comments on commit 16a6983

Please sign in to comment.