tiny fix, there was an ancient non working call to gimp_layer_add_alpha

2002-05-15  Simon Budig  <simon@gimp.org>

        * plug-ins/pagecurl/pagecurl.c: tiny fix, there was an
        ancient non working call to gimp_layer_add_alpha still
        hanging around...
This commit is contained in:
Simon Budig 2002-05-15 18:46:55 +00:00 committed by Simon Budig
parent e82fba4414
commit 4904ca124e
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2002-05-15 Simon Budig <simon@gimp.org>
* plug-ins/pagecurl/pagecurl.c: tiny fix, there was an
ancient non working call to gimp_layer_add_alpha still
hanging around...
2002-05-15 Simon Budig <simon@gimp.org>
* plug-ins/pagecurl/pagecurl.c: Made the pagecurl plugin

View File

@ -688,6 +688,7 @@ init_calculation (void)
GimpRGB color;
gimp_layer_add_alpha (drawable->drawable_id);
drawable = gimp_drawable_get (drawable->drawable_id);
/* Image parameters */
@ -1011,8 +1012,6 @@ static void
page_curl (void)
{
gimp_undo_push_group_start (image_id);
gimp_layer_add_alpha (drawable->drawable_id);
drawable = gimp_drawable_get (drawable->drawable_id);
gimp_progress_init (_("Page Curl..."));
init_calculation ();
do_curl_effect ();