mirror of https://github.com/GNOME/gimp.git
app/paint/gimpclone.c minor cosmetic cleanup merged from the
2006-09-02 Michael Natterer <mitch@gimp.org> * app/paint/gimpclone.c * app/paint/gimpink.c: minor cosmetic cleanup merged from the soc-2006-healing-brush branch.
This commit is contained in:
parent
96a2fcbe1e
commit
a3217d46fe
|
@ -1,3 +1,9 @@
|
||||||
|
2006-09-02 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
|
* app/paint/gimpclone.c
|
||||||
|
* app/paint/gimpink.c: minor cosmetic cleanup merged from the
|
||||||
|
soc-2006-healing-brush branch.
|
||||||
|
|
||||||
2006-09-02 Michael Natterer <mitch@gimp.org>
|
2006-09-02 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
* app/dialogs/quit-dialog.c (quit_close_all_dialog_new): create a
|
* app/dialogs/quit-dialog.c (quit_close_all_dialog_new): create a
|
||||||
|
|
|
@ -349,7 +349,7 @@ gimp_clone_motion (GimpPaintCore *paint_core,
|
||||||
return;
|
return;
|
||||||
|
|
||||||
src_pickable = GIMP_PICKABLE (clone->src_drawable);
|
src_pickable = GIMP_PICKABLE (clone->src_drawable);
|
||||||
src_image = gimp_pickable_get_image (src_pickable);
|
src_image = gimp_pickable_get_image (src_pickable);
|
||||||
|
|
||||||
if (options->sample_merged)
|
if (options->sample_merged)
|
||||||
{
|
{
|
||||||
|
@ -396,7 +396,7 @@ gimp_clone_motion (GimpPaintCore *paint_core,
|
||||||
* Otherwise, we need a call to get_orig_image to make sure
|
* Otherwise, we need a call to get_orig_image to make sure
|
||||||
* we get a copy of the unblemished (offset) image
|
* we get a copy of the unblemished (offset) image
|
||||||
*/
|
*/
|
||||||
if (( options->sample_merged && (src_image != image)) ||
|
if (( options->sample_merged && (src_image != image)) ||
|
||||||
(! options->sample_merged && (clone->src_drawable != drawable)))
|
(! options->sample_merged && (clone->src_drawable != drawable)))
|
||||||
{
|
{
|
||||||
pixel_region_init (&srcPR, src_tiles,
|
pixel_region_init (&srcPR, src_tiles,
|
||||||
|
|
|
@ -321,7 +321,7 @@ gimp_ink_motion (GimpPaintCore *paint_core,
|
||||||
blob_to_render = blob_union;
|
blob_to_render = blob_union;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Get the the buffer */
|
/* Get the buffer */
|
||||||
ink->cur_blob = blob_to_render;
|
ink->cur_blob = blob_to_render;
|
||||||
area = gimp_paint_core_get_paint_area (paint_core, drawable, paint_options);
|
area = gimp_paint_core_get_paint_area (paint_core, drawable, paint_options);
|
||||||
ink->cur_blob = NULL;
|
ink->cur_blob = NULL;
|
||||||
|
|
|
@ -349,7 +349,7 @@ gimp_clone_motion (GimpPaintCore *paint_core,
|
||||||
return;
|
return;
|
||||||
|
|
||||||
src_pickable = GIMP_PICKABLE (clone->src_drawable);
|
src_pickable = GIMP_PICKABLE (clone->src_drawable);
|
||||||
src_image = gimp_pickable_get_image (src_pickable);
|
src_image = gimp_pickable_get_image (src_pickable);
|
||||||
|
|
||||||
if (options->sample_merged)
|
if (options->sample_merged)
|
||||||
{
|
{
|
||||||
|
@ -396,7 +396,7 @@ gimp_clone_motion (GimpPaintCore *paint_core,
|
||||||
* Otherwise, we need a call to get_orig_image to make sure
|
* Otherwise, we need a call to get_orig_image to make sure
|
||||||
* we get a copy of the unblemished (offset) image
|
* we get a copy of the unblemished (offset) image
|
||||||
*/
|
*/
|
||||||
if (( options->sample_merged && (src_image != image)) ||
|
if (( options->sample_merged && (src_image != image)) ||
|
||||||
(! options->sample_merged && (clone->src_drawable != drawable)))
|
(! options->sample_merged && (clone->src_drawable != drawable)))
|
||||||
{
|
{
|
||||||
pixel_region_init (&srcPR, src_tiles,
|
pixel_region_init (&srcPR, src_tiles,
|
||||||
|
|
Loading…
Reference in New Issue