mirror of https://github.com/GNOME/gimp.git
also set the mode of the new layer to NORMAL and its opacity to OPAQUE.
2007-05-29 Michael Natterer <mitch@gimp.org> * app/widgets/gimptoolbox-dnd.c (gimp_toolbox_drop_drawable): also set the mode of the new layer to NORMAL and its opacity to OPAQUE. svn path=/trunk/; revision=22647
This commit is contained in:
parent
c705096434
commit
18d586fb1d
|
@ -1,3 +1,8 @@
|
|||
2007-05-29 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/widgets/gimptoolbox-dnd.c (gimp_toolbox_drop_drawable): also
|
||||
set the mode of the new layer to NORMAL and its opacity to OPAQUE.
|
||||
|
||||
2007-05-29 Mukund Sivaraman <muks@mukund.org>
|
||||
|
||||
* plug-ins/imagemap/imap_object.c: Use C89 declarations.
|
||||
|
|
|
@ -222,6 +222,8 @@ gimp_toolbox_drop_drawable (GtkWidget *widget,
|
|||
gimp_item_offsets (GIMP_ITEM (new_layer), &off_x, &off_y);
|
||||
gimp_item_translate (GIMP_ITEM (new_layer), -off_x, -off_y, FALSE);
|
||||
gimp_item_set_visible (GIMP_ITEM (new_layer), TRUE, FALSE);
|
||||
gimp_layer_set_mode (new_layer, GIMP_NORMAL_MODE, FALSE);
|
||||
gimp_layer_set_opacity (new_layer, GIMP_OPACITY_OPAQUE, FALSE);
|
||||
|
||||
gimp_image_add_layer (new_image, new_layer, 0);
|
||||
|
||||
|
|
Loading…
Reference in New Issue