[gimp] plug-ins: foggify: fix bad fill parameters
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] plug-ins: foggify: fix bad fill parameters
- Date: Wed, 12 Nov 2014 21:06:06 +0000 (UTC)
commit 8a28c72d2bb7988bdf73b929895babf6d1b8e0f6
Author: Thomas Manni <thomas manni free fr>
Date: Wed Nov 12 20:02:58 2014 +0100
plug-ins: foggify: fix bad fill parameters
plug-ins/pygimp/plug-ins/foggify.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/pygimp/plug-ins/foggify.py b/plug-ins/pygimp/plug-ins/foggify.py
index 4e644e1..60a4378 100755
--- a/plug-ins/pygimp/plug-ins/foggify.py
+++ b/plug-ins/pygimp/plug-ins/foggify.py
@@ -32,11 +32,11 @@ def foggify(img, layer, name, colour, turbulence, opacity):
type = GRAYA_IMAGE
fog = gimp.Layer(img, name,
layer.width, layer.height, type, opacity, NORMAL_MODE)
- fog.fill(TRANSPARENT_FILL)
+ fog.fill(FILL_TRANSPARENT)
img.insert_layer(fog)
gimp.set_background(colour)
- pdb.gimp_edit_fill(fog, BACKGROUND_FILL)
+ pdb.gimp_edit_fill(fog, FILL_BACKGROUND)
# create a layer mask for the new layer
mask = fog.create_mask(0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]