From 17243337d7317045a46c521cfc74c3739a5404d6 Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Sat, 31 Jul 2021 14:26:01 -0400 Subject: Cleanup: Remove unecessary helper function Retrieving a mesh's looptris now take's a const mesh after rB5f8969bb4b4, which removes the need for this function. Since it's only two lines, avoiding the use of a separate function in this case is simpler. --- source/blender/blenkernel/BKE_mesh_sample.hh | 2 -- 1 file changed, 2 deletions(-) (limited to 'source/blender/blenkernel/BKE_mesh_sample.hh') diff --git a/source/blender/blenkernel/BKE_mesh_sample.hh b/source/blender/blenkernel/BKE_mesh_sample.hh index dc747ba5b42..2fbf7372a09 100644 --- a/source/blender/blenkernel/BKE_mesh_sample.hh +++ b/source/blender/blenkernel/BKE_mesh_sample.hh @@ -40,8 +40,6 @@ using fn::GMutableSpan; using fn::GSpan; using fn::GVArray; -Span get_mesh_looptris(const Mesh &mesh); - void sample_point_attribute(const Mesh &mesh, Span looptri_indices, Span bary_coords, -- cgit v1.2.3