From 28f667c7c46a1855146bba9e555b20c9993d7316 Mon Sep 17 00:00:00 2001 From: Pablo Dobarro Date: Mon, 20 Apr 2020 02:17:50 +0200 Subject: 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 --- source/blender/editors/sculpt_paint/sculpt_smooth.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/editors/sculpt_paint') diff --git a/source/blender/editors/sculpt_paint/sculpt_smooth.c b/source/blender/editors/sculpt_paint/sculpt_smooth.c index 5410a85ed85..3a09d52d418 100644 --- a/source/blender/editors/sculpt_paint/sculpt_smooth.c +++ b/source/blender/editors/sculpt_paint/sculpt_smooth.c @@ -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; } -- cgit v1.2.3