diff options
author | Hans Goudey <h.goudey@me.com> | 2022-01-31 03:06:47 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-01-31 03:06:47 +0300 |
commit | 23775f3914d6474fd73eff78429aaf3180f27dd7 (patch) | |
tree | 78ac454fd1d911789704147ba0af5b788baa6a45 /source/blender/editors/sculpt_paint | |
parent | ac3324f1976a2aabfcadd86e475acc5389fa35fc (diff) |
Cleanup: Remove unused DerivedMesh functions
Remove functions and function pointers that were never set or never
used at all. The "tessface" original index handling in `subsurf_ccg.c`
can be removed because the data was never used.
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_image_proj.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_image_proj.c b/source/blender/editors/sculpt_paint/paint_image_proj.c index ca012f20f01..133424bae79 100644 --- a/source/blender/editors/sculpt_paint/paint_image_proj.c +++ b/source/blender/editors/sculpt_paint/paint_image_proj.c @@ -1730,17 +1730,10 @@ static float project_paint_uvpixel_mask(const ProjPaintState *ps, normalize_v3(no); } else { -#if 1 - /* In case the normalizing per pixel isn't optimal, - * we could cache or access from evaluated mesh. */ normal_tri_v3(no, ps->mvert_eval[lt_vtri[0]].co, ps->mvert_eval[lt_vtri[1]].co, ps->mvert_eval[lt_vtri[2]].co); -#else - /* Don't use because some modifiers don't have normal data (subsurf for eg). */ - copy_v3_v3(no, (float *)ps->dm->getTessFaceData(ps->dm, tri_index, CD_NORMAL)); -#endif } if (UNLIKELY(ps->is_flip_object)) { |