From 0f80602632f5ca7e3ee993123e05bf60cc50cea1 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 8 Nov 2021 14:14:16 +1100 Subject: Cleanup: remove references to non-existent 'mtexpoly' --- source/blender/editors/sculpt_paint/paint_vertex_color_ops.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'source/blender/editors/sculpt_paint/paint_vertex_color_ops.c') 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; } -- cgit v1.2.3