mirror of https://github.com/GNOME/gimp.git
Fixed a desynch bug when undoing "add alpha layer". --sg
Fixed a desynch bug when undoing "add alpha layer". --sg
This commit is contained in:
parent
30799ead74
commit
370c5fc2f9
|
@ -1,3 +1,8 @@
|
|||
Thu Mar 12 21:25:51 1998 Scott Goehring <scott@poverty.bloomington.in.us>
|
||||
|
||||
* app/undo.c (undo_pop_layer_mod): Fixed a desynch bug when
|
||||
undoing "add alpha layer".
|
||||
|
||||
Thu Mar 12 22:52:47 1998 Tim Janik <timj@gimp.org>
|
||||
|
||||
* about_dialog.c:
|
||||
|
|
|
@ -1225,6 +1225,7 @@ undo_pop_layer_mod (GImage *gimage,
|
|||
GIMP_DRAWABLE(layer)->height = tiles->levels[0].height;
|
||||
GIMP_DRAWABLE(layer)->bytes = tiles->levels[0].bpp;
|
||||
GIMP_DRAWABLE(layer)->type = layer_type;
|
||||
GIMP_DRAWABLE(layer)->has_alpha = TYPE_HAS_ALPHA (layer_type);
|
||||
|
||||
if (layer->mask)
|
||||
{
|
||||
|
|
|
@ -1225,6 +1225,7 @@ undo_pop_layer_mod (GImage *gimage,
|
|||
GIMP_DRAWABLE(layer)->height = tiles->levels[0].height;
|
||||
GIMP_DRAWABLE(layer)->bytes = tiles->levels[0].bpp;
|
||||
GIMP_DRAWABLE(layer)->type = layer_type;
|
||||
GIMP_DRAWABLE(layer)->has_alpha = TYPE_HAS_ALPHA (layer_type);
|
||||
|
||||
if (layer->mask)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue