mirror of https://github.com/GNOME/gimp.git
Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/jpeg/jpeg-load.c: Don't detach from drawable if it belongs to a preview layer. Fixes bug #304352.
This commit is contained in:
parent
01e18712a4
commit
ca98388de6
|
@ -1,3 +1,8 @@
|
|||
2005-05-16 Bill Skaggs <weskaggs@primate.ucdavis.edu>
|
||||
|
||||
* plug-ins/jpeg/jpeg-load.c: Don't detach from drawable if
|
||||
it belongs to a preview layer. Fixes bug #304352.
|
||||
|
||||
2005-05-16 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* tools/pdbgen/pdb/procedural_db.pdb: fixed typo in API docs.
|
||||
|
|
|
@ -457,7 +457,8 @@ load_image (const gchar *filename,
|
|||
|
||||
/* Detach from the drawable and add it to the image.
|
||||
*/
|
||||
gimp_drawable_detach (drawable);
|
||||
if (!preview)
|
||||
gimp_drawable_detach (drawable);
|
||||
gimp_image_add_layer (image_ID, layer_ID, 0);
|
||||
|
||||
/* pw - Last of all, attach the parasites (couldn't do it earlier -
|
||||
|
|
Loading…
Reference in New Issue