[Bf-blender-cvs] [c4f159cfcd1] master: Cleanup: Add back comment removed in recent commit

Hans Goudey noreply at git.blender.org
Mon Jan 31 19:01:06 CET 2022


Commit: c4f159cfcd16846941a5c8445c8ce9ec3246e900
Author: Hans Goudey
Date:   Mon Jan 31 12:00:28 2022 -0600
Branches: master
https://developer.blender.org/rBc4f159cfcd16846941a5c8445c8ce9ec3246e900

Cleanup: Add back comment removed in recent commit

23775f3914d6474fd73eff7 removed this comment, but it's
preferred to keep it instead.

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

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

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

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,



More information about the Bf-blender-cvs mailing list