In fixed mode, paint incremental so the individual brushes are properly

2005-12-07  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimpclone.c (gimp_clone_motion): In fixed mode, paint
	incremental so the individual brushes are properly applied on top
	of each other. Fixes bug #322791.
This commit is contained in:
Michael Natterer 2005-12-07 21:17:12 +00:00 committed by Michael Natterer
parent 684fe95ce3
commit c86deaa853
3 changed files with 24 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2005-12-07 Michael Natterer <mitch@gimp.org>
* app/paint/gimpclone.c (gimp_clone_motion): In fixed mode, paint
incremental so the individual brushes are properly applied on top
of each other. Fixes bug #322791.
2005-12-07 Michael Natterer <mitch@gimp.org>
* app/paint/*: use G_DEFINE_TYPE().

View File

@ -384,7 +384,15 @@ gimp_clone_motion (GimpPaintCore *paint_core,
gimp_context_get_opacity (context),
gimp_context_get_paint_mode (context),
gimp_paint_options_get_brush_mode (paint_options),
GIMP_PAINT_CONSTANT);
/* In fixed mode, paint incremental so the
* individual brushes are properly applied
* on top of each other.
* Otherwise the stuff we paint is seamless
* and we don't need intermediate masking.
*/
options->align_mode == GIMP_CLONE_ALIGN_FIXED ?
GIMP_PAINT_INCREMENTAL : GIMP_PAINT_CONSTANT);
}
static void

View File

@ -384,7 +384,15 @@ gimp_clone_motion (GimpPaintCore *paint_core,
gimp_context_get_opacity (context),
gimp_context_get_paint_mode (context),
gimp_paint_options_get_brush_mode (paint_options),
GIMP_PAINT_CONSTANT);
/* In fixed mode, paint incremental so the
* individual brushes are properly applied
* on top of each other.
* Otherwise the stuff we paint is seamless
* and we don't need intermediate masking.
*/
options->align_mode == GIMP_CLONE_ALIGN_FIXED ?
GIMP_PAINT_INCREMENTAL : GIMP_PAINT_CONSTANT);
}
static void