Sven Neumann wrote:
> I have fixed that in gimp-gap, both in trunk and gap-2-2. Would be cool
> if someone could do some more testing in the gap-2-2 branch before I do
> the release...


So far I have not encountered any problems with the changes.

I did notice that the file 'gap/sel-to-anim-img.scm' does not run under
the TinyScheme-based Script-fu (it uses some variables without defining
them). I have created a patch file for this which is available at
http://flashingtwelve.brickfilms.com/GIMP/Temp/selanim.patch

The contents of that file are:

Index: gap/sel-to-anim-img.scm
===================================================================
--- gap/sel-to-anim-img.scm     (revision 681)
+++ gap/sel-to-anim-img.scm     (working copy)
@@ -37,7 +37,17 @@
          (idx 0)
         (draw-type (car (gimp-drawable-type-with-alpha drawable)))
         (image-type (car (gimp-image-base-type image)))
-        (old-bg (car (gimp-context-get-background))))
+        (old-bg (car (gimp-context-get-background)))
+         (selection-bounds)
+         (select-offset-x)
+         (select-offset-y)
+         (selection-width)
+         (selection-height)
+         (from-selection)
+         (active-selection)
+         (brush-draw)
+         (draw-name)
+         (brush-image))

     (set! selection-bounds (gimp-selection-bounds image))
     (set! select-offset-x (cadr selection-bounds))
@@ -94,7 +104,7 @@
     (gimp-image-set-active-layer image drawable)
     (gimp-image-clean-all brush-image)
     (gimp-display-new brush-image)
-    (gimp-displays-flush))
+    (gimp-displays-flush)
     (if (= filter-all TRUE)
         ; INTERACTIVE animated call of any other plugin
         ; (drawable and plugin name are dummy parameters
@@ -103,6 +113,7 @@
         (plug-in-gap-layers-run-animfilter 0 brush-image brush-draw
"plug-in-bend" 1)
     )
 )
+)

 (script-fu-register "script-fu-selection-to-anim-image"
                    _"<Image>/Script-Fu/Animators/Selection to AnimImage..."


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

Reply via email to