From b037816980dee7a74128c23eface983b9850d4a9 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 15 Mar 2020 17:32:06 +1100 Subject: Cleanup: shadow warning, clang-format --- source/blender/editors/gpencil/gpencil_select.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'source/blender/editors/gpencil') 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); -- cgit v1.2.3