On Mon, 2010-09-06 at 20:59 +0200, Ofnuts wrote:

> I'm working on my first Gimp plugin in python, and most things work, but 
> I can't seem to make a bucket-fill into the selection.
> 
> My code currently does:
> 
>          
> res=pdb.gimp_edit_bucket_fill_full(drawable,FG_BUCKET_FILL,NORMAL_MODE,0,0,True,False,SELECT_CRITERION_COMPOSITE,0,0)

You are using opacity=0. The fill does of course not have any effect
then.

Are you certain that you actually want to bucket-fill at all? Since you
are using a selection, it seems likely that you actually want to fill
that selection. Then you can use layer.fill() instead.


Sven


_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

Reply via email to