diff options
author | Hans Goudey <h.goudey@me.com> | 2022-01-31 21:00:28 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-01-31 21:00:45 +0300 |
commit | c4f159cfcd16846941a5c8445c8ce9ec3246e900 (patch) | |
tree | bacca667ddc5846d722c7e5197e70b5e614d21a6 /source | |
parent | 81ee46da1a6c508e7c5ccef07067e672f716ccda (diff) |
Cleanup: Add back comment removed in recent commit
23775f3914d6474fd73eff7 removed this comment, but it's
preferred to keep it instead.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_image_proj.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_image_proj.c b/source/blender/editors/sculpt_paint/paint_image_proj.c index 133424bae79..f05cd4c3d5f 100644 --- a/source/blender/editors/sculpt_paint/paint_image_proj.c +++ b/source/blender/editors/sculpt_paint/paint_image_proj.c @@ -1730,6 +1730,8 @@ static float project_paint_uvpixel_mask(const ProjPaintState *ps, normalize_v3(no); } else { + /* 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, |