[gimp/gimp-2-10] Fixes issues with fade-out breaking the script



commit 09eccc99893810b9b3857ecc739997f79dbb5bc9
Author: Nikc <nikcdc gmail com>
Date:   Fri Mar 11 22:39:53 2022 +0000

    Fixes issues with fade-out breaking the script

 plug-ins/script-fu/scripts/burn-in-anim.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/plug-ins/script-fu/scripts/burn-in-anim.scm b/plug-ins/script-fu/scripts/burn-in-anim.scm
index a1bdcd0e42..4842e8aa36 100644
--- a/plug-ins/script-fu/scripts/burn-in-anim.scm
+++ b/plug-ins/script-fu/scripts/burn-in-anim.scm
@@ -116,7 +116,7 @@
                   (begin
                     ; blend with 20% offset to get less transparency in the front
                    (gimp-context-set-gradient-fg-bg-rgb)
-                    (gimp-drawable_edit-gradient-fill bl-mask
+                    (gimp-drawable-edit-gradient-fill bl-mask
                                                      GRADIENT-LINEAR 20
                                                      FALSE 0 0
                                                      TRUE
@@ -196,9 +196,9 @@
           (if (= optimize TRUE)
               (begin
                 (gimp-image-convert-indexed img CONVERT-DITHER-FS CONVERT-PALETTE-WEB 250 FALSE TRUE "")
-                (set! img-out (car (plug-in-animationoptimize RUN-NONINTERACTIVE
-                                                              img
-                                                              bl-layer)))
+                (set! img (car (plug-in-animationoptimize RUN-NONINTERACTIVE
+                                                          img
+                                                          blended-layer)))
               )
           )
 


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