Don't allow one of the two layers to be a floating selection. Fixes bug

2006-12-12  Kevin Cozens  <kcozens@cvs.gnome.org>

        * plug-ins/script-fu/scripts/burn-in-anim.scm: Don't allow one of the
        two layers to be a floating selection. Fixes bug #384096.
This commit is contained in:
Kevin Cozens 2006-12-12 16:52:25 +00:00 committed by Kevin Cozens
parent 04ef165e77
commit f32e98e6af
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-12-12 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/scripts/burn-in-anim.scm: Don't allow one of the
two layers to be a floating selection. Fixes bug #384096.
2006-12-12 Sven Neumann <sven@gimp.org>
* app/actions/edit-actions.c (edit_actions_update): plugged a tiny

View File

@ -49,7 +49,8 @@
(set! speed (* -1 speed)) )
;--- check image and work on a copy
(if (= (car (gimp-image-get-layers org-img)) 2)
(if (and (= (car (gimp-image-get-layers org-img)) 2)
(= (car (gimp-image-get-floating-sel org-img)) -1))
;--- main program structure starts here, begin of "if-1"
(begin