mirror of https://github.com/GNOME/gimp.git
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.
This commit is contained in:
parent
5b09af4390
commit
fb5987fd57
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue