Commit 8d3c6a4f authored by Michael Natterer's avatar Michael Natterer 😴
Browse files

pdb: fix gimp-edit-bucket-fill when there is a selection

use the passed opacity and paint mode instead of hardcoding OPAQUE and
NORMAL.
parent 6f2e4ec1
......@@ -626,7 +626,7 @@ edit_bucket_fill_invoker (GimpProcedure *procedure,
if (! gimp_channel_is_empty (gimp_image_get_mask (image)))
{
success = gimp_edit_fill (image, drawable, context, fill_type,
GIMP_OPACITY_OPAQUE, GIMP_NORMAL_MODE,
opacity / 100.0, paint_mode,
error);
}
else
......
......@@ -662,7 +662,7 @@ HELP
if (! gimp_channel_is_empty (gimp_image_get_mask (image)))
{
success = gimp_edit_fill (image, drawable, context, fill_type,
GIMP_OPACITY_OPAQUE, GIMP_NORMAL_MODE,
opacity / 100.0, paint_mode,
error);
}
else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment