[Gimp-developer] error on roundcorners

2007-06-03 Thread Luis A. Florit
Hi,

I am getting an error on the script round-corners.scm (gimp 2.3.17).
A pop-up window opens with the following error:

Procedural database execution of gimp-image-undo-group-end failed:

and just that...

Thanks,

L.

___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] error on roundcorners

2007-06-03 Thread saulgoode
Quoting Luis A. Florit [EMAIL PROTECTED]:

 I am getting an error on the script round-corners.scm (gimp 2.3.17).
 A pop-up window opens with the following error:

 Procedural database execution of gimp-image-undo-group-end failed:

 and just that...

Line 66 contains a spurious 'gimp-image-undo-disable' call and should  
be removed.

Here is a patch to fix the problem:

--- round-corners-orig.scm  2007-06-03 15:07:21.0 -0400
+++ round-corners.scm   2007-06-03 15:07:21.0 -0400
@@ -64,8 +64,6 @@
(gimp-image-undo-group-start image)
)

-  (gimp-image-undo-disable image)
-
; add an alpha channel to the image
(gimp-layer-add-alpha pic-layer)




___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer