gimp r21749 - in trunk: . app/core app/tools



Author: mitch
Date: 2007-01-21 19:54:57 +0000 (Sun, 21 Jan 2007)
New Revision: 21749
ViewCVS link: http://svn.gnome.org/viewcvs/gimp?rev=21749&view=rev

Modified:
   trunk/ChangeLog
   trunk/app/core/gimpbrush.c
   trunk/app/tools/gimpbrushtool.c
   trunk/app/tools/gimpdrawtool.c
   trunk/app/tools/gimpdrawtool.h
Log:
2007-01-21  Michael Natterer  <mitch gimp org>

	* app/tools/gimpdrawtool.[ch]: maintain an is_drawn boolean which
	indicates whether the drawn stuff is currently visible. Added
	gimp_draw_tool_is_drawn() to obtain it.

	* app/tools/gimpbrushtool.c (gimp_brush_tool_draw): don't create
	the brush outline segments for the purpose of undrawing (if we
	don't have the segments, we can hardly have drawn them before).
	Fixes artifacts when the brush is being scaled or changed.

	* app/core/gimpbrush.c: don't call brush_scale_mask() and
	brush_scale_pixmap() with zero width or height. Fixes warnings
	from these functions.






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]