diff options
author | Hans Goudey <h.goudey@me.com> | 2021-07-31 21:26:01 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-07-31 21:26:01 +0300 |
commit | 17243337d7317045a46c521cfc74c3739a5404d6 (patch) | |
tree | a2acccc35d4c2c37376591fa41520d6db354db45 /source/blender/blenkernel/BKE_mesh_sample.hh | |
parent | 2f63303e2540ceeca9e99cc47c07de37f3d79c0a (diff) |
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.
Diffstat (limited to 'source/blender/blenkernel/BKE_mesh_sample.hh')
-rw-r--r-- | source/blender/blenkernel/BKE_mesh_sample.hh | 2 |
1 files changed, 0 insertions, 2 deletions
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<MLoopTri> get_mesh_looptris(const Mesh &mesh); - void sample_point_attribute(const Mesh &mesh, Span<int> looptri_indices, Span<float3> bary_coords, |