diff options
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_vertex_color_ops.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_vertex_color_ops.c | 2 |
1 files changed, 1 insertions, 1 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 266c130d12a..3a4c8f20028 100644 --- a/source/blender/editors/sculpt_paint/paint_vertex_color_ops.c +++ b/source/blender/editors/sculpt_paint/paint_vertex_color_ops.c @@ -160,7 +160,7 @@ static bool vertex_paint_from_weight(Object *ob) uint j = 0; do { uint vidx = me->mloop[mp->loopstart + j].v; - const float weight = defvert_find_weight(&me->dvert[vidx], vgroup_active); + const float weight = BKE_defvert_find_weight(&me->dvert[vidx], vgroup_active); const uchar grayscale = weight * 255; lcol->r = grayscale; lcol->b = grayscale; |