Re: [Gimp-developer] script-fu beginner question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 06, 2002 at 01:35:04AM +0200, Simon Budig wrote:
> If you create layers from a script they are usually not really
> initialized. You have to clear them yourself. If you create
> the layers via the UI they get cleared.

Yes, I guess that should have been obvious from the new layer
dialog.  Calling gimp-drawable-fill did it.

> > One other question: after my script-fu runs, the layers dialog box
> > is not updated, until I go and reselect the image from the
> > drop-down.  Is there a way to fix that?
> 
> Try calling (gimp-displays-flush) at the end of the script.

Great, thanks!

Andrew


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux