From 96e37affe587193d51a1e3d95b5d219ad802186d Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Fri, 3 Feb 2023 08:18:41 -0500 Subject: [PATCH] Cleanup: Remove unused image paint function --- source/blender/editors/sculpt_paint/paint_image_proj.cc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/source/blender/editors/sculpt_paint/paint_image_proj.cc b/source/blender/editors/sculpt_paint/paint_image_proj.cc index 6544b1f2bda..db16931d6fb 100644 --- a/source/blender/editors/sculpt_paint/paint_image_proj.cc +++ b/source/blender/editors/sculpt_paint/paint_image_proj.cc @@ -508,11 +508,6 @@ struct VertSeam { /** \name MLoopTri accessor functions. * \{ */ -BLI_INLINE const MPoly *ps_tri_index_to_mpoly(const ProjPaintState *ps, int tri_index) -{ - return &ps->mpoly_eval[ps->mlooptri_eval[tri_index].poly]; -} - #define PS_LOOPTRI_AS_VERT_INDEX_3(ps, lt) \ int(ps->mloop_eval[lt->tri[0]].v), int(ps->mloop_eval[lt->tri[1]].v), \ int(ps->mloop_eval[lt->tri[2]].v),