Re: [Gimp-developer] Gimp-python: Artefacts when creating layer

2006-06-04 Thread Sven Neumann
Hi, On Sat, 2006-06-03 at 12:07 +0200, Sebastian Breuers 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

Re: [Gimp-developer] Gimp-python: Artefacts when creating layer

2006-06-04 Thread Sven Neumann
Hi, On Sat, 2006-06-03 at 11:58 -0300, Joao S. O. Bueno Calligaris wrote: For C plug-ins that might be true. However, python plug-ins are not good in dealing directly with pixels - that is, for rendering things. There is no need to access pixels directly. We are not asking the C programmer

Re: [Gimp-developer] Gimp-python: Artefacts when creating layer

2006-06-04 Thread Joao S. O. Bueno Calligaris
On Sunday 04 June 2006 02:45 pm, Sven Neumann wrote: Hi, On Sat, 2006-06-03 at 11:58 -0300, Joao S. O. Bueno Calligaris wrote: For C plug-ins that might be true. However, python plug-ins are not good in dealing directly with pixels - that is, for rendering things. There is no need to

Re: [Gimp-developer] Gimp-python: Artefacts when creating layer

2006-06-03 Thread Simon Budig
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

Re: [Gimp-developer] Gimp-python: Artefacts when creating layer

2006-06-03 Thread Alan Horkan
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

Re: [Gimp-developer] Gimp-python: Artefacts when creating layer

2006-06-03 Thread Simon Budig
Alan Horkan ([EMAIL PROTECTED]) wrote: On Sat, 3 Jun 2006, Simon Budig wrote: 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.

Re: [Gimp-developer] Gimp-python: Artefacts when creating layer

2006-06-03 Thread Joao S. O. Bueno Calligaris
On Saturday 03 June 2006 09:53 am, Simon Budig wrote: Alan Horkan ([EMAIL PROTECTED]) wrote: On Sat, 3 Jun 2006, Simon Budig wrote: 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

Re: [Gimp-developer] Gimp-python: Artefacts when creating layer

2006-06-03 Thread Sebastian Breuers
Am Samstag, 3. Juni 2006 16:58 schrieb Joao S. O. Bueno Calligaris: On Saturday 03 June 2006 09:53 am, Simon Budig wrote: Alan Horkan ([EMAIL PROTECTED]) wrote: On Sat, 3 Jun 2006, Simon Budig wrote: That sounds as if you don't clear the layer before you use it for the first time.