mirror of https://github.com/GNOME/gimp.git
make the airbrush behave like paintbrush when called non-interactively...
just try to draw a box non-interactively with the airbrush before this patch... Eric.
This commit is contained in:
parent
1c979b5784
commit
f447cb8efe
|
@ -388,6 +388,7 @@ airbrush_invoker (Argument *args)
|
|||
non_gui_paint_core.startx = non_gui_paint_core.lastx = stroke_array[0];
|
||||
non_gui_paint_core.starty = non_gui_paint_core.lasty = stroke_array[1];
|
||||
|
||||
num_strokes /= 2;
|
||||
if (num_strokes == 1)
|
||||
airbrush_non_gui_paint_func (&non_gui_paint_core, drawable_id, 0);
|
||||
|
||||
|
|
|
@ -388,6 +388,7 @@ airbrush_invoker (Argument *args)
|
|||
non_gui_paint_core.startx = non_gui_paint_core.lastx = stroke_array[0];
|
||||
non_gui_paint_core.starty = non_gui_paint_core.lasty = stroke_array[1];
|
||||
|
||||
num_strokes /= 2;
|
||||
if (num_strokes == 1)
|
||||
airbrush_non_gui_paint_func (&non_gui_paint_core, drawable_id, 0);
|
||||
|
||||
|
|
|
@ -388,6 +388,7 @@ airbrush_invoker (Argument *args)
|
|||
non_gui_paint_core.startx = non_gui_paint_core.lastx = stroke_array[0];
|
||||
non_gui_paint_core.starty = non_gui_paint_core.lasty = stroke_array[1];
|
||||
|
||||
num_strokes /= 2;
|
||||
if (num_strokes == 1)
|
||||
airbrush_non_gui_paint_func (&non_gui_paint_core, drawable_id, 0);
|
||||
|
||||
|
|
|
@ -388,6 +388,7 @@ airbrush_invoker (Argument *args)
|
|||
non_gui_paint_core.startx = non_gui_paint_core.lastx = stroke_array[0];
|
||||
non_gui_paint_core.starty = non_gui_paint_core.lasty = stroke_array[1];
|
||||
|
||||
num_strokes /= 2;
|
||||
if (num_strokes == 1)
|
||||
airbrush_non_gui_paint_func (&non_gui_paint_core, drawable_id, 0);
|
||||
|
||||
|
|
Loading…
Reference in New Issue