diff options
author | Pablo Dobarro <pablodp606@gmail.com> | 2021-03-13 00:20:51 +0300 |
---|---|---|
committer | Pablo Dobarro <pablodp606@gmail.com> | 2021-03-13 00:29:37 +0300 |
commit | 258b15da74ad6f734d4e9870bbe051066a9a705c (patch) | |
tree | c0484496182d3c8e572cfc7eb8f22248cf9669ee /source/blender/editors/sculpt_paint/sculpt_mask_init.c | |
parent | 74052a9f02a1f891300bb1e36b98556c5f7820b2 (diff) |
Cleanup: add BKE_pbvh_vertex_iter_begin to clang-format
Reviewed By: JacquesLucke
Differential Revision: https://developer.blender.org/D10707
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt_mask_init.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_mask_init.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_mask_init.c b/source/blender/editors/sculpt_paint/sculpt_mask_init.c index b2fae9198fd..0c383cdf035 100644 --- a/source/blender/editors/sculpt_paint/sculpt_mask_init.c +++ b/source/blender/editors/sculpt_paint/sculpt_mask_init.c @@ -24,8 +24,8 @@ #include "MEM_guardedalloc.h" #include "BLI_blenlib.h" -#include "BLI_math.h" #include "BLI_hash.h" +#include "BLI_math.h" #include "BLI_task.h" #include "BLT_translation.h" @@ -109,8 +109,7 @@ static void mask_init_task_cb(void *__restrict userdata, const int mode = data->mask_init_mode; const int seed = data->mask_init_seed; SCULPT_undo_push_node(data->ob, node, SCULPT_UNDO_MASK); - BKE_pbvh_vertex_iter_begin(ss->pbvh, node, vd, PBVH_ITER_UNIQUE) - { + BKE_pbvh_vertex_iter_begin (ss->pbvh, node, vd, PBVH_ITER_UNIQUE) { switch (mode) { case SCULPT_MASK_INIT_RANDOM_PER_VERTEX: *vd.mask = BLI_hash_int_01(vd.index + seed); |