diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-11-30 01:29:30 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-11-30 01:29:30 +0300 |
commit | b49a398baaa3b09348d55a16de711f09e48388dc (patch) | |
tree | 8a0212bf6b5079e342159f722454d205fa511880 /source/blender/editors/sculpt_paint/paint_vertex.c | |
parent | f81aeac2bc98624d1fd7de9a615303637cea39c1 (diff) |
Fix T58213: Crash w/ Vertex paint average
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_vertex.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_vertex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_vertex.c b/source/blender/editors/sculpt_paint/paint_vertex.c index 9d078d4fea2..a00ad59ce7a 100644 --- a/source/blender/editors/sculpt_paint/paint_vertex.c +++ b/source/blender/editors/sculpt_paint/paint_vertex.c @@ -3170,7 +3170,7 @@ static void vpaint_stroke_update_step(bContext *C, struct PaintStroke *stroke, P BKE_mesh_batch_cache_dirty_tag(ob->data, BKE_MESH_BATCH_DIRTY_ALL); - if (vp->paint.brush->vertexpaint_tool == PAINT_TOOL_SMEAR) { + if (vp->paint.brush->vertexpaint_tool == VPAINT_TOOL_SMEAR) { memcpy(vpd->smear.color_prev, vpd->smear.color_curr, sizeof(uint) * ((Mesh *)ob->data)->totloop); } |