Open3D icon indicating copy to clipboard operation
Open3D copied to clipboard

TriangleMesh's operator "+=" gets rid of UV coordinates when no texture is attached to the mesh.

Open sebastienchappuis opened this issue 4 years ago • 1 comments

Checklist

My Question

Hello,

I noticed that the += operator overload for the TriangleMesh class does not append UV coordinates in the case of a mesh that has UVs but no texture attached to it. I guess this is determined by this boolean here. I think it would be more intuitive if UVs were also copied over when appending meshes together, regardless of if they have a texture attached or not.

Is there any particular reason for the current behavior ? If not I could make a small PR to modify this.

thanks in advance and thanks for the great lib 👍

sebastienchappuis avatar Feb 22 '22 15:02 sebastienchappuis

Thank you for reporting the issue. We would welcome a PR to change this behavior. I see no reason to limit += for UVs to the TriangleMeshes with textures already assigned to them.

errissa avatar Mar 03 '22 16:03 errissa