mirror of https://github.com/GNOME/gimp.git
do nothing if the size doesn't change. This keeps text layers from being
2004-11-23 Sven Neumann <sven@gimp.org> * app/core/gimpdrawable.c (gimp_drawable_resize): do nothing if the size doesn't change. This keeps text layers from being modified when an image is cropped and the layer is entirely inside the cropped area. * menus/image-menu.xml.in: put the Quit item back for now. We should think about this again in the next development cycle.
This commit is contained in:
parent
cacacb8e6c
commit
f653295e5d
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
||||||
|
2004-11-23 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
|
* app/core/gimpdrawable.c (gimp_drawable_resize): do nothing if
|
||||||
|
the size doesn't change. This keeps text layers from being
|
||||||
|
modified when an image is cropped and the layer is entirely inside
|
||||||
|
the cropped area.
|
||||||
|
|
||||||
|
* menus/image-menu.xml.in: put the Quit item back for now. We
|
||||||
|
should think about this again in the next development cycle.
|
||||||
|
|
||||||
2004-11-21 Kevin Cozens <kcozens@cvs.gimp.org>
|
2004-11-21 Kevin Cozens <kcozens@cvs.gimp.org>
|
||||||
|
|
||||||
* plug-ins/script-fu/scripts/copy-visible.scm: Fixed incorrect
|
* plug-ins/script-fu/scripts/copy-visible.scm: Fixed incorrect
|
||||||
|
|
|
@ -449,6 +449,10 @@ gimp_drawable_resize (GimpItem *item,
|
||||||
gint copy_x, copy_y;
|
gint copy_x, copy_y;
|
||||||
gint copy_width, copy_height;
|
gint copy_width, copy_height;
|
||||||
|
|
||||||
|
/* if the size doesn't change, this is a nop */
|
||||||
|
if (item->width == new_width && item->height == new_height)
|
||||||
|
return;
|
||||||
|
|
||||||
new_offset_x = item->offset_x - offset_x;
|
new_offset_x = item->offset_x - offset_x;
|
||||||
new_offset_y = item->offset_y - offset_y;
|
new_offset_y = item->offset_y - offset_y;
|
||||||
|
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
<placeholder name="Send" />
|
<placeholder name="Send" />
|
||||||
<separator />
|
<separator />
|
||||||
<menuitem action="view-close" />
|
<menuitem action="view-close" />
|
||||||
|
<menuitem action="file-quit" />
|
||||||
</menu>
|
</menu>
|
||||||
|
|
||||||
<!-- Context
|
<!-- Context
|
||||||
|
|
Loading…
Reference in New Issue