mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-21 20:12:30 +00:00
set "Lock Alpha" to TRUE again on floating selections.
2007-05-28 Michael Natterer <mitch@gimp.org> * app/core/gimplayer-floating-sel.c (floating_sel_attach): set "Lock Alpha" to TRUE again on floating selections. (floating_sel_to_layer): instead, set it to FALSE when turning it into a new layer. Fixes bug #418215 and keeps #161042 closed. svn path=/trunk/; revision=22638
This commit is contained in:
parent
97b41ca939
commit
8eb046f130
|
@ -1,3 +1,11 @@
|
|||
2007-05-28 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/core/gimplayer-floating-sel.c (floating_sel_attach): set
|
||||
"Lock Alpha" to TRUE again on floating selections.
|
||||
|
||||
(floating_sel_to_layer): instead, set it to FALSE when turning
|
||||
it into a new layer. Fixes bug #418215 and keeps #161042 closed.
|
||||
|
||||
2007-05-28 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* plug-ins/common/gauss.c: clamping at 255 is good enough.
|
||||
|
|
|
@ -72,7 +72,7 @@ floating_sel_attach (GimpLayer *layer,
|
|||
}
|
||||
|
||||
/* set the drawable and allocate a backing store */
|
||||
gimp_layer_set_lock_alpha (layer, FALSE, FALSE);
|
||||
gimp_layer_set_lock_alpha (layer, TRUE, FALSE);
|
||||
layer->fs.drawable = drawable;
|
||||
layer->fs.backing_store = tile_manager_new (GIMP_ITEM (layer)->width,
|
||||
GIMP_ITEM (layer)->height,
|
||||
|
@ -232,7 +232,9 @@ floating_sel_to_layer (GimpLayer *layer)
|
|||
/* Set pointers */
|
||||
layer->fs.drawable = NULL;
|
||||
image->floating_sel = NULL;
|
||||
|
||||
gimp_item_set_visible (GIMP_ITEM (layer), TRUE, TRUE);
|
||||
gimp_layer_set_lock_alpha (layer, FALSE, TRUE);
|
||||
|
||||
gimp_image_undo_group_end (image);
|
||||
|
||||
|
|
Loading…
Reference in a new issue