diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-03-27 03:16:17 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-03-27 03:28:20 +0300 |
commit | 5c74b0964bd624fb10e1293920d8df3b089115dd (patch) | |
tree | 54a07a1ffd35ac729db2ebfea01515c7f9a34549 /source/blender/editors/gpencil/gpencil_uv.c | |
parent | 2f149ebbe946e9f4067a83455e855f4e7b1f8fab (diff) |
Cleanup: add iterator macros to clang-format
Also rename START to BEGIN (matching BEGIN/END for most iterator macros).
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_uv.c')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_uv.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/gpencil/gpencil_uv.c b/source/blender/editors/gpencil/gpencil_uv.c index 1da32dcc537..5f15a6f5411 100644 --- a/source/blender/editors/gpencil/gpencil_uv.c +++ b/source/blender/editors/gpencil/gpencil_uv.c @@ -176,8 +176,7 @@ static bool gpencil_uv_transform_init(bContext *C, wmOperator *op, const bool is float center[3] = {0.0f}; int i = 0; /* Need use evaluated to get the viewport final position. */ - GP_EVALUATED_STROKES_BEGIN(gpstroke_iter, C, gpl, gps) - { + GP_EVALUATED_STROKES_BEGIN (gpstroke_iter, C, gpl, gps) { if (gps->flag & GP_STROKE_SELECT) { float r_center[3]; gpencil_stroke_center(gps, r_center); |