Re: [Tuxpaint-devel] Paint tool: Single clicks do nothing
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
From: Pere P. i C. <pe...@fo...> - 2008-08-14 16:55:40
|
El dj 14 de 08 de 2008 a les 08:03 -0700, en/na Bill Kendrick va escriure: > On Thu, Aug 14, 2008 at 02:41:44PM +0200, Pere Pujal i Carabantes wrote: > > Hi all! > > > > Start tuxpaint, in paint tool, do several single clicks withouth > > dragging the mouse: > > nothing is drawed. > > Oh dear. Thanks for catching that. I've applied your patch, and it seems > good. It might be even better if we only behaved like this for the > directional brushes, but I think it's okay as it is, for now. This draws on click for non directional brushes only, on both paint and line tools diff tuxpaint.c.back tuxpaint/src/tuxpaint.c 3300,3301c3300,3303 < < /* brush_draw(old_x, old_y, old_x, old_y, 1); fixes SF #1934883? */ --- > if (! brushes_directional[cur_brush]) > { > brush_draw(old_x, old_y, old_x, old_y, 1); /*fixes SF #1934883? */ > } 3332,3334c3334,3337 < < /* brush_draw(old_x, old_y, old_x, old_y, 1); fixes sf #1934883? */ < --- > if(! brushes_directional[cur_brush]) > { > brush_draw(old_x, old_y, old_x, old_y, 1); /*fixes sf #1934883? */ > } Yours Pere |