diff options
Diffstat (limited to 'source/blender/editors')
4 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/editors/gpencil/gpencil_sculpt_paint.c b/source/blender/editors/gpencil/gpencil_sculpt_paint.c index 7b4af648800..d37e393ac77 100644 --- a/source/blender/editors/gpencil/gpencil_sculpt_paint.c +++ b/source/blender/editors/gpencil/gpencil_sculpt_paint.c @@ -271,8 +271,8 @@ static float gpencil_brush_influence_calc(tGP_BrushEditData *gso, float distance = (float)len_v2v2_int(mval_i, co); /* Apply Brush curve. */ - float brush_fallof = BKE_brush_curve_strength(brush, distance, (float)radius); - influence *= brush_fallof; + float brush_falloff = BKE_brush_curve_strength(brush, distance, (float)radius); + influence *= brush_falloff; /* apply multiframe falloff */ influence *= gso->mf_falloff; diff --git a/source/blender/editors/gpencil/gpencil_vertex_paint.c b/source/blender/editors/gpencil/gpencil_vertex_paint.c index b0dff6589da..c6ee30ad6e3 100644 --- a/source/blender/editors/gpencil/gpencil_vertex_paint.c +++ b/source/blender/editors/gpencil/gpencil_vertex_paint.c @@ -231,8 +231,8 @@ static float brush_influence_calc(tGP_BrushVertexpaintData *gso, const int radiu float distance = (float)len_v2v2_int(mval_i, co); /* Apply Brush curve. */ - float brush_fallof = BKE_brush_curve_strength(brush, distance, (float)radius); - influence *= brush_fallof; + float brush_falloff = BKE_brush_curve_strength(brush, distance, (float)radius); + influence *= brush_falloff; /* apply multiframe falloff */ influence *= gso->mf_falloff; @@ -646,7 +646,7 @@ static bool brush_smear_apply(tGP_BrushVertexpaintData *gso, inf *= gso->pressure; } - /* Calc distance from initial sample location and add a fallof effect. */ + /* Calc distance from initial sample location and add a falloff effect. */ int mval_i[2]; round_v2i_v2fl(mval_i, gso->mval); float distance = (float)len_v2v2_int(mval_i, gso->grid_sample); diff --git a/source/blender/editors/gpencil/gpencil_weight_paint.c b/source/blender/editors/gpencil/gpencil_weight_paint.c index 9d3e9c6ae45..7fa71fcce3c 100644 --- a/source/blender/editors/gpencil/gpencil_weight_paint.c +++ b/source/blender/editors/gpencil/gpencil_weight_paint.c @@ -203,8 +203,8 @@ static float brush_influence_calc(tGP_BrushWeightpaintData *gso, const int radiu influence *= 1.0f - (distance / max_ff(radius, 1e-8)); /* Apply Brush curve. */ - float brush_fallof = BKE_brush_curve_strength(brush, distance, (float)radius); - influence *= brush_fallof; + float brush_falloff = BKE_brush_curve_strength(brush, distance, (float)radius); + influence *= brush_falloff; /* apply multi-frame falloff */ influence *= gso->mf_falloff; diff --git a/source/blender/editors/sculpt_paint/paint_cursor.c b/source/blender/editors/sculpt_paint/paint_cursor.c index 69b2a7d1fbb..2b6ecdcd640 100644 --- a/source/blender/editors/sculpt_paint/paint_cursor.c +++ b/source/blender/editors/sculpt_paint/paint_cursor.c @@ -1744,7 +1744,7 @@ static void paint_cursor_cursor_draw_3d_view_brush_cursor_active(PaintCursorCont else if (brush->cloth_force_falloff_type == BRUSH_CLOTH_FORCE_FALLOFF_RADIAL && brush->cloth_simulation_area_type == BRUSH_CLOTH_SIMULATION_AREA_LOCAL) { /* Display the simulation limits if sculpting outside them. */ - /* This does not makes much sense of plane fallof as the fallof is infinte or global. */ + /* This does not makes much sense of plane falloff as the falloff is infinte or global. */ if (len_v3v3(ss->cache->true_location, ss->cache->true_initial_location) > ss->cache->radius * (1.0f + brush->cloth_sim_limit)) { |