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, _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org List details, subscription details or unsubscribe: https://lists.blender.org/mailman/listinfo/bf-blender-cvs