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:
Eric L. Hernes 1997-12-09 01:39:08 +00:00
parent 1c979b5784
commit f447cb8efe
4 changed files with 4 additions and 0 deletions

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);