Commit fb5987fd authored by Ell's avatar Ell

app: in GimpSmudge, avoid copying brush pixmap when flow = 0

In GimpSmudge, avoid copying the brush's dab to the paint buffer
when using a pixmap brush if the flow parameter is 0 -- it has no
effect in this case.
parent 5b09af43
......@@ -494,7 +494,7 @@ gimp_smudge_motion (GimpPaintCore *paint_core,
* gimp_gegl_smudge_with_paint() instead of calling
* gegl_buffer_set_color() to reduce gegl's internal processing.
if (! brush_color_ptr)
if (! brush_color_ptr && flow > 0.0)
gimp_brush_core_color_area_with_pixmap (brush_core, drawable,
coords, op,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment