mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 04:22:29 +00:00
fill layer before using it. Fixes bug #481798, thanks to Jakub Friedl for
2007-09-30 Manish Singh <yosh@gimp.org> * plug-ins/pygimp/plug-ins/foggify.py: fill layer before using it. Fixes bug #481798, thanks to Jakub Friedl for suggesting fix. svn path=/trunk/; revision=23693
This commit is contained in:
parent
7d7a9ca968
commit
d70088c961
|
@ -1,3 +1,8 @@
|
|||
2007-09-30 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* plug-ins/pygimp/plug-ins/foggify.py: fill layer before using it.
|
||||
Fixes bug #481798, thanks to Jakub Friedl for suggesting fix.
|
||||
|
||||
2007-09-29 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* libgimp/gimp.c (gimp_extension_process): loop around select() as
|
||||
|
|
|
@ -27,6 +27,7 @@ def foggify(img, layer, name, colour, turbulence, opacity):
|
|||
|
||||
fog = gimp.Layer(img, name, layer.width, layer.height, RGBA_IMAGE,
|
||||
opacity, NORMAL_MODE)
|
||||
fog.fill(TRANSPARENT_FILL)
|
||||
img.add_layer(fog, 0)
|
||||
|
||||
oldbg = gimp.get_background()
|
||||
|
|
Loading…
Reference in a new issue