From c4f159cfcd16846941a5c8445c8ce9ec3246e900 Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Mon, 31 Jan 2022 12:00:28 -0600 Subject: Cleanup: Add back comment removed in recent commit 23775f3914d6474fd73eff7 removed this comment, but it's preferred to keep it instead. --- source/blender/editors/sculpt_paint/paint_image_proj.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/editors/sculpt_paint') 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, -- cgit v1.2.3