From 4904ca124eb963d4472c14d8dabbeb3ccbaa745f Mon Sep 17 00:00:00 2001 From: Simon Budig Date: Wed, 15 May 2002 18:46:55 +0000 Subject: [PATCH] tiny fix, there was an ancient non working call to gimp_layer_add_alpha 2002-05-15 Simon Budig * plug-ins/pagecurl/pagecurl.c: tiny fix, there was an ancient non working call to gimp_layer_add_alpha still hanging around... --- ChangeLog | 6 ++++++ plug-ins/pagecurl/pagecurl.c | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 43662bb9e5..2da9087b42 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-05-15 Simon Budig + + * 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 * plug-ins/pagecurl/pagecurl.c: Made the pagecurl plugin diff --git a/plug-ins/pagecurl/pagecurl.c b/plug-ins/pagecurl/pagecurl.c index e73ca17e5e..ac8f7c2fe0 100644 --- a/plug-ins/pagecurl/pagecurl.c +++ b/plug-ins/pagecurl/pagecurl.c @@ -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 ();