mirror of https://github.com/GNOME/gimp.git
Duplicate wasn't copying channels correctly. Fixed. --sg
Duplicate wasn't copying channels correctly. Fixed. --sg
This commit is contained in:
parent
1bc5055b12
commit
65c81c94ea
|
@ -1,3 +1,8 @@
|
|||
Sat Feb 28 00:09:46 1998 Scott Goehring <scott@poverty.bloomington.in.us>
|
||||
|
||||
* app/gimage_cmds.c (duplicate): Duplicate image wasn't copying
|
||||
channels to the new image. Fixed.
|
||||
|
||||
Fri Feb 27 23:02:10 MET 1998 Sven Neumann (sven@gimp.org)
|
||||
|
||||
* app/about_dialog.c: (about_dialog_load_logo)
|
||||
|
|
|
@ -3289,6 +3289,7 @@ duplicate (GImage *gimage)
|
|||
list = g_slist_next (list);
|
||||
|
||||
new_channel = channel_copy (channel);
|
||||
GIMP_DRAWABLE(new_channel)->gimage_ID = new_gimage->ID;
|
||||
|
||||
/* Make sure the copied channel doesn't say: "<old channel> copy" */
|
||||
g_free (drawable_name (GIMP_DRAWABLE(new_channel)));
|
||||
|
|
Loading…
Reference in New Issue