[Bf-blender-cvs] [96e37affe58] master: Cleanup: Remove unused image paint function

Hans Goudey noreply at git.blender.org
Fri Feb 3 14:48:27 CET 2023


Commit: 96e37affe587193d51a1e3d95b5d219ad802186d
Author: Hans Goudey
Date:   Fri Feb 3 08:18:41 2023 -0500
Branches: master
https://developer.blender.org/rB96e37affe587193d51a1e3d95b5d219ad802186d

Cleanup: Remove unused image paint function

===================================================================

M	source/blender/editors/sculpt_paint/paint_image_proj.cc

===================================================================

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),



More information about the Bf-blender-cvs mailing list