On Sat, 3 Jun 2006, Simon Budig wrote:

> Date: Sat, 3 Jun 2006 14:29:02 +0200
> From: Simon Budig <[EMAIL PROTECTED]>
> To: gimp-developer@lists.XCF.Berkeley.EDU
> Subject: Re: [Gimp-developer] Gimp-python: Artefacts when creating layer
> Sebastian Breuers ([EMAIL PROTECTED]) wrote:
> > The plug-in, I'm writing, creates a number of layers, every layer receives 
> > an
> > object, for example a circle (created by ellipse selection, an selection
> > fill), but somewhen, don't know why, the layer contains not only the desired
> > circle but also some artefacts. Stripes, areas of white, the mouse cursor,
> > things they should not be there.
> > Is that a problem that can be solved by a certain programmable handling or 
> > do
> > I have to remove these artefacts by hand?
> That sounds as if you don't clear the layer before you use it for the
> first time. Layers created from a Plugin are not initialized from the
> very beginning. They need to be cleared using e.g. gimp_drawable_fill.

I remember getting caught out by this too.  Why is necessary to manually
clear a new layer rather than have it done automatically?


Gimp-developer mailing list

Reply via email to