diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-03-15 09:32:06 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-03-15 13:42:06 +0300 |
commit | b037816980dee7a74128c23eface983b9850d4a9 (patch) | |
tree | a275875cef8578b4362add2171e2d123fd986f0a /source/blender/editors/gpencil/gpencil_select.c | |
parent | 4031d8bcb7b5638b1fbdd85ea019e9819a6ef0af (diff) |
Cleanup: shadow warning, clang-format
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_select.c')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_select.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/source/blender/editors/gpencil/gpencil_select.c b/source/blender/editors/gpencil/gpencil_select.c index ee9e91d0e81..f479905f0d7 100644 --- a/source/blender/editors/gpencil/gpencil_select.c +++ b/source/blender/editors/gpencil/gpencil_select.c @@ -1784,7 +1784,6 @@ static int gpencil_select_vertex_color_exec(bContext *C, wmOperator *op) /* Extend stroke selection. */ if (selectmode == GP_SELECTMODE_STROKE) { bGPDspoint *pt1 = NULL; - int i; for (i = 0, pt1 = gps->points; i < gps->totpoints; i++, pt1++) { pt1->flag |= GP_SPOINT_SELECT; @@ -1830,15 +1829,16 @@ void GPENCIL_OT_select_vertex_color(wmOperatorType *ot) ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO; /* properties */ - prop = RNA_def_int(ot->srna, - "threshold", - 0, - 0, - 6, - "Threshold", - "Tolerance of the selection. Higher values select a wider range of similar colors", - 0, - 6); + prop = RNA_def_int( + ot->srna, + "threshold", + 0, + 0, + 6, + "Threshold", + "Tolerance of the selection. Higher values select a wider range of similar colors", + 0, + 6); /* avoid re-using last var */ RNA_def_property_flag(prop, PROP_SKIP_SAVE); |