Fix T75778: Missing ME_VERT_PBVH_UPDATE in Surface Smooth
Without this flag the PBVH won't update taking the modified vertices into account. Reviewed By: brecht Maniphest Tasks: T75778 Differential Revision: https://developer.blender.org/D7453
This commit is contained in:
parent
7e72b74713
commit
28f667c7c4
Notes:
blender-bot
2023-02-14 00:29:15 +01:00
Referenced by issue #75778, Sculpt mode: Surface Smooth brush doesn't seem to have any effect on sculpt object until changing modes
|
@ -533,6 +533,9 @@ static void SCULPT_do_surface_smooth_brush_laplacian_task_cb_ex(
|
|||
orig_data.co,
|
||||
alpha);
|
||||
madd_v3_v3fl(vd.co, disp, clamp_f(fade, 0.0f, 1.0f));
|
||||
if (vd.mvert) {
|
||||
vd.mvert->flag |= ME_VERT_PBVH_UPDATE;
|
||||
}
|
||||
}
|
||||
BKE_pbvh_vertex_iter_end;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue