Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/sculpt_paint/sculpt_smooth.c
| Show First 20 Lines • Show All 527 Lines • ▼ Show 20 Lines | if (sculpt_brush_test_sq_fn(&test, vd.co)) { | ||||
| SCULPT_surface_smooth_laplacian_step(ss, | SCULPT_surface_smooth_laplacian_step(ss, | ||||
| disp, | disp, | ||||
| vd.co, | vd.co, | ||||
| ss->cache->surface_smooth_laplacian_disp, | ss->cache->surface_smooth_laplacian_disp, | ||||
| vd.index, | vd.index, | ||||
| orig_data.co, | orig_data.co, | ||||
| alpha); | alpha); | ||||
| madd_v3_v3fl(vd.co, disp, clamp_f(fade, 0.0f, 1.0f)); | 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; | BKE_pbvh_vertex_iter_end; | ||||
| } | } | ||||
| } | } | ||||
| static void SCULPT_do_surface_smooth_brush_displace_task_cb_ex( | static void SCULPT_do_surface_smooth_brush_displace_task_cb_ex( | ||||
| void *__restrict userdata, const int n, const TaskParallelTLS *__restrict tls) | void *__restrict userdata, const int n, const TaskParallelTLS *__restrict tls) | ||||
| { | { | ||||
| ▲ Show 20 Lines • Show All 55 Lines • Show Last 20 Lines | |||||