mirror of https://github.com/GNOME/gimp.git
fixed handling of pixel region that broke with my latest change. Fixes bug
2005-02-03 Sven Neumann <sven@gimp.org> * app/core/gimpimagemap.c (gimp_image_map_do): fixed handling of pixel region that broke with my latest change. Fixes bug #166126.
This commit is contained in:
parent
19036efb36
commit
5b75565650
|
@ -1,3 +1,8 @@
|
|||
2005-02-03 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/core/gimpimagemap.c (gimp_image_map_do): fixed handling of
|
||||
pixel region that broke with my latest change. Fixes bug #166126.
|
||||
|
||||
2005-02-03 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/main.c: some cleanup in main().
|
||||
|
|
|
@ -535,8 +535,6 @@ gimp_image_map_do (GimpImageMap *image_map)
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
pixel_region_init (&shadowPR, gimage->shadow, 0, 0, 0, 0, FALSE);
|
||||
|
||||
/* Process up to 16 tiles in one go. This reduces the overhead
|
||||
* caused by updating the display while the imagemap is being
|
||||
* applied and gives us a tiny speedup.
|
||||
|
@ -554,7 +552,7 @@ gimp_image_map_do (GimpImageMap *image_map)
|
|||
w = image_map->destPR.w;
|
||||
h = image_map->destPR.h;
|
||||
|
||||
pixel_region_resize (&shadowPR, x, y, w, h);
|
||||
pixel_region_init (&shadowPR, gimage->shadow, x, y, w, h, FALSE);
|
||||
|
||||
gimp_drawable_apply_region (image_map->drawable, &shadowPR,
|
||||
FALSE, NULL,
|
||||
|
|
Loading…
Reference in New Issue