diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-11-03 08:54:17 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-11-03 08:54:17 +0300 |
commit | c48ca87bcee01333f1d1816a0273521a7cb40964 (patch) | |
tree | ad0122e6b4c01f375233d98172bf1b5c144df642 /source/blender/editors/sculpt_paint/paint_vertex.c | |
parent | 888a0735eee5fbe05fc60d8755d83974a2f74680 (diff) |
Correct error in last commit
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 94aeeb5d158..c36caf5184b 100644 --- a/source/blender/editors/sculpt_paint/paint_vertex.c +++ b/source/blender/editors/sculpt_paint/paint_vertex.c @@ -2410,7 +2410,7 @@ static int vpaint_mode_toggle_exec(bContext *C, wmOperator *op) Depsgraph *depsgraph = CTX_data_depsgraph_on_load(C); wmWindowManager *wm = CTX_wm_manager(C); ED_object_vpaintmode_enter_ex(bmain, depsgraph, wm, scene, ob); - BKE_paint_toolslots_brush_validate(bmain, scene, &ts->wpaint->paint); + BKE_paint_toolslots_brush_validate(bmain, scene, &ts->vpaint->paint); } BKE_mesh_batch_cache_dirty_tag(ob->data, BKE_MESH_BATCH_DIRTY_ALL); |