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:
scott 1998-03-13 02:27:09 +00:00
parent 30799ead74
commit 370c5fc2f9
3 changed files with 7 additions and 0 deletions

View File

@ -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:

View File

@ -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)
{

View File

@ -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)
{