mirror of https://github.com/GNOME/gimp.git
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:
parent
e82fba4414
commit
4904ca124e
|
@ -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>
|
2002-05-15 Simon Budig <simon@gimp.org>
|
||||||
|
|
||||||
* plug-ins/pagecurl/pagecurl.c: Made the pagecurl plugin
|
* plug-ins/pagecurl/pagecurl.c: Made the pagecurl plugin
|
||||||
|
|
|
@ -688,6 +688,7 @@ init_calculation (void)
|
||||||
GimpRGB color;
|
GimpRGB color;
|
||||||
|
|
||||||
gimp_layer_add_alpha (drawable->drawable_id);
|
gimp_layer_add_alpha (drawable->drawable_id);
|
||||||
|
drawable = gimp_drawable_get (drawable->drawable_id);
|
||||||
|
|
||||||
/* Image parameters */
|
/* Image parameters */
|
||||||
|
|
||||||
|
@ -1011,8 +1012,6 @@ static void
|
||||||
page_curl (void)
|
page_curl (void)
|
||||||
{
|
{
|
||||||
gimp_undo_push_group_start (image_id);
|
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..."));
|
gimp_progress_init (_("Page Curl..."));
|
||||||
init_calculation ();
|
init_calculation ();
|
||||||
do_curl_effect ();
|
do_curl_effect ();
|
||||||
|
|
Loading…
Reference in New Issue