On Sun, May 11, 2008 at 7:27 AM, Joao S. O. Bueno <
gwidion@...> 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@...
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user