diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-11-08 06:14:16 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-11-08 06:14:16 +0300 |
commit | 0f80602632f5ca7e3ee993123e05bf60cc50cea1 (patch) | |
tree | 28fc06c36007ab9506773eac882afa9e369f2bee /source/blender/editors/sculpt_paint | |
parent | b24a03e635bc3465b7954456d9117b067b893a26 (diff) |
Cleanup: remove references to non-existent 'mtexpoly'
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_vertex_color_ops.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_vertex_color_ops.c b/source/blender/editors/sculpt_paint/paint_vertex_color_ops.c index f95e1d8d89c..f62d91acddf 100644 --- a/source/blender/editors/sculpt_paint/paint_vertex_color_ops.c +++ b/source/blender/editors/sculpt_paint/paint_vertex_color_ops.c @@ -210,9 +210,6 @@ static void vertex_color_smooth_looptag(Mesh *me, const bool *mlooptag) int(*scol)[4]; bool has_shared = false; - /* if no mloopcol: do not do */ - /* if mtexpoly: only the involved faces, otherwise all */ - if (me->mloopcol == NULL || me->totvert == 0 || me->totpoly == 0) { return; } |