On Sun, May 11, 2008 at 7:27 AM, Joao S. O. Bueno <[EMAIL PROTECTED]> wrote:
>> The drawable you are passing looks just right. But doesn't the
>> resynthesizer PDB procedure take run-mode as its first parameter?
>>
> When caling PDB stuff from a python plug-in, the run-mode
> parameter is always omited and assumed to be "non-interactive"

For the sake of completeness, I'll mention that you *can* use other
run modes, by specifying the kwarg 'run_mode'
like this

pdb.plug_in_gauss (i, i.layers[0], 4, 4, 1, run_mode = 0)

^^^
Brings up the normal interactive dialog.
_______________________________________________
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

Reply via email to