Fix T79164: Sculpting with smooth shading doesn't update normals

Just a missing update flag

Reviewed By: sergey

Maniphest Tasks: T79164

Differential Revision: https://developer.blender.org/D8364
This commit is contained in:
Pablo Dobarro 2020-07-22 16:44:47 +02:00
parent 4f3233dd53
commit 7eebebebc7
Notes: blender-bot 2023-07-10 10:12:37 +02:00
Referenced by issue #79164, Sculpting with smooth shading doesn't update normals
1 changed files with 3 additions and 0 deletions

View File

@ -242,6 +242,9 @@ static void do_smooth_brush_task_cb_ex(void *__restrict userdata,
madd_v3_v3v3fl(val, vd.co, val, fade);
SCULPT_clip(sd, ss, vd.co, val);
}
if (vd.mvert) {
vd.mvert->flag |= ME_VERT_PBVH_UPDATE;
}
}
}
BKE_pbvh_vertex_iter_end;