diff --git a/ChangeLog b/ChangeLog index 2f99b4004b..edea006b4b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Mar 12 21:25:51 1998 Scott Goehring + + * 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 * about_dialog.c: diff --git a/app/core/gimpimage-undo-push.c b/app/core/gimpimage-undo-push.c index e85f7f5b05..5df05b2d3b 100644 --- a/app/core/gimpimage-undo-push.c +++ b/app/core/gimpimage-undo-push.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) { diff --git a/app/undo.c b/app/undo.c index e85f7f5b05..5df05b2d3b 100644 --- a/app/undo.c +++ b/app/undo.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) {