From be7855591e3b47e5e72c09555946f75975a8c028 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 16 Mar 2022 11:58:22 +1100 Subject: Cleanup: rename cnt to count Follow naming from T85728. --- source/blender/editors/sculpt_paint/paint_stroke.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/editors') diff --git a/source/blender/editors/sculpt_paint/paint_stroke.c b/source/blender/editors/sculpt_paint/paint_stroke.c index 1705e36363e..c0bf89107e0 100644 --- a/source/blender/editors/sculpt_paint/paint_stroke.c +++ b/source/blender/editors/sculpt_paint/paint_stroke.c @@ -792,7 +792,7 @@ static int paint_space_stroke(bContext *C, Paint *paint = BKE_paint_get_active_from_context(C); ePaintMode mode = BKE_paintmode_get_active_from_context(C); Brush *brush = BKE_paint_brush(paint); - int cnt = 0; + int count = 0; const bool use_scene_spacing = paint_stroke_use_scene_spacing(brush, mode); float d_world_space_position[3] = {0.0f}; @@ -855,14 +855,14 @@ static int paint_space_stroke(bContext *C, pressure = stroke->last_pressure; dpressure = final_pressure - stroke->last_pressure; - cnt++; + count++; } else { break; } } - return cnt; + return count; } /**** Public API ****/ -- cgit v1.2.3