[Gimp-developer] Python and vectors

2012-04-06 Thread Ofnuts
Is there a Pythonic way to add a gimp.Vectors to an image (ie not using pdb.gimp_vectors_new(img,name)). I can create a new vector using: vector=gimp.Vectors(image,name) But if I then use: image.vectors.append(vector) the new path is not even added to image.vectors, and dir(image) doesn't

Re: [Gimp-developer] Python and vectors

2012-04-06 Thread Joao S. O. Bueno
On 6 April 2012 21:25, Ofnuts ofn...@laposte.net wrote: Is there a Pythonic way to add a gimp.Vectors to an image (ie not using pdb.gimp_vectors_new(img,name)). I can create a new vector using: vector=gimp.Vectors(image,name) But if I then use: image.vectors.append(vector) the new path