mirror of https://github.com/GNOME/gimp.git
parent
d2c6ecd2d9
commit
ae49a36f46
|
@ -1,5 +1,8 @@
|
|||
Sun Jan 25 16:56:49 1998 Scott Goehring <scott@poverty.bloomington.in.us>
|
||||
|
||||
* app/gimage.c (gimage_merge_layers): Added a missing call to
|
||||
drawable_offsets, fixing the "merge bug".
|
||||
|
||||
* app/gimage_cmds.c (duplicate): Fixed a bug in duplicate that was
|
||||
entirely my fault. :)
|
||||
|
||||
|
|
|
@ -1871,6 +1871,7 @@ gimage_merge_layers (GImage *gimage, link_ptr merge_list, MergeType merge_type)
|
|||
while (merge_list)
|
||||
{
|
||||
layer = (Layer *) merge_list->data;
|
||||
drawable_offsets (GIMP_DRAWABLE(layer), &off_x, &off_y);
|
||||
|
||||
switch (merge_type)
|
||||
{
|
||||
|
@ -1905,7 +1906,6 @@ gimage_merge_layers (GImage *gimage, link_ptr merge_list, MergeType merge_type)
|
|||
case ClipToBottomLayer:
|
||||
if (merge_list->next == NULL)
|
||||
{
|
||||
drawable_offsets (GIMP_DRAWABLE(layer), &off_x, &off_y);
|
||||
x1 = off_x;
|
||||
y1 = off_y;
|
||||
x2 = off_x + drawable_width (GIMP_DRAWABLE(layer));
|
||||
|
|
Loading…
Reference in New Issue