diff options
author | Pablo Dobarro <pablodp606@gmail.com> | 2020-10-01 18:16:17 +0300 |
---|---|---|
committer | Pablo Dobarro <pablodp606@gmail.com> | 2020-10-05 20:37:05 +0300 |
commit | e1e061384be5d36ff2aa974b17fe1d819db0e6a8 (patch) | |
tree | 3ebdcda12e79bdc10ca654224dafd67994182147 | |
parent | a2b517cb11c9a9fc934108dd3bfc01a01b29a870 (diff) |
Fix T81343: Smooth shading normals not updating with line project tool
Just a missing update flag
Reviewed By: mont29
Maniphest Tasks: T81343
Differential Revision: https://developer.blender.org/D9077
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_mask.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_mask.c b/source/blender/editors/sculpt_paint/paint_mask.c index 06231479a6d..f7e8abde021 100644 --- a/source/blender/editors/sculpt_paint/paint_mask.c +++ b/source/blender/editors/sculpt_paint/paint_mask.c @@ -1212,6 +1212,9 @@ static void project_line_gesture_apply_task_cb(void *__restrict userdata, continue; } add_v3_v3(vd.co, disp); + if (vd.mvert) { + vd.mvert->flag |= ME_VERT_PBVH_UPDATE; + } any_updated = true; } BKE_pbvh_vertex_iter_end; |