mirror of https://github.com/GNOME/gimp.git
fixed an issue with the fix for bug #413906.
2007-06-21 Sven Neumann <sven@gimp.org> * plug-ins/common/autocrop.c (autocrop): fixed an issue with the fix for bug #413906. svn path=/trunk/; revision=22810
This commit is contained in:
parent
33429e9fe2
commit
d2375568be
|
@ -1,3 +1,8 @@
|
|||
2007-06-21 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* plug-ins/common/autocrop.c (autocrop): fixed an issue with the
|
||||
fix for bug #413906.
|
||||
|
||||
2007-06-20 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* plug-ins/common/animationplay.c: applied patch from Paul Seidel
|
||||
|
|
|
@ -294,11 +294,13 @@ autocrop (GimpDrawable *drawable,
|
|||
g_free (buffer);
|
||||
gimp_drawable_detach (drawable);
|
||||
|
||||
if (layer_only &&
|
||||
(x2 - x1 != width || y2 - y1 != height))
|
||||
if (layer_only)
|
||||
{
|
||||
if (x2 - x1 != width || y2 - y1 != height)
|
||||
{
|
||||
gimp_layer_resize (layer_id, x2 - x1, y2 - y1, -x1, -y1);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
/* convert to image coordinates */
|
||||
|
|
Loading…
Reference in New Issue