[gimp] plug-ins: script-fu bash processing should not finish with gimp-quit.



commit ce2e187b08750d6e6deefd7c889572ee22432b38
Author: Jehan <jehan girinstud io>
Date:   Mon May 30 18:55:37 2016 +0200

    plug-ins: script-fu bash processing should not finish with gimp-quit.
    
    This is not the macro business to quit GIMP. The user may still have
    processing to do after looping over images.

 plug-ins/script-fu/scripts/script-fu-util.scm |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/script-fu/scripts/script-fu-util.scm b/plug-ins/script-fu/scripts/script-fu-util.scm
index 09af751..4f036b8 100644
--- a/plug-ins/script-fu/scripts/script-fu-util.scm
+++ b/plug-ins/script-fu/scripts/script-fu-util.scm
@@ -80,5 +80,9 @@
              (when image
                ,@body
                (gimp-image-delete image)))
-           (,loop (cdr ,filenames))))
-       (gimp-quit 0))))
+           (,loop (cdr ,filenames))
+         )
+       )
+     )
+  )
+)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]