mirror of https://github.com/GNOME/gimp.git
fixed crash when Mottle option is selected (mLayer was incorrectly
2007-01-04 Raphael Quinet <raphael@gimp.org> * plug-ins/script-fu/scripts/old-photo.scm: fixed crash when Mottle option is selected (mLayer was incorrectly declared). svn path=/trunk/; revision=21645
This commit is contained in:
parent
e640ce4443
commit
9b6ca68c86
|
@ -1,3 +1,8 @@
|
|||
2007-01-04 Raphaël Quinet <raphael@gimp.org>
|
||||
|
||||
* plug-ins/script-fu/scripts/old-photo.scm: fixed crash when
|
||||
Mottle option is selected (mLayer was incorrectly declared).
|
||||
|
||||
2007-01-04 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* libgimpwidgets/gimppreviewarea.c: fixed clipping (bug #392692).
|
||||
|
|
|
@ -57,9 +57,11 @@
|
|||
(set! theWidth (car (gimp-image-width theImage)))
|
||||
(set! theHeight (car (gimp-image-height theImage)))
|
||||
(if (= inMottle TRUE)
|
||||
(begin (set! mLayer (car (gimp-layer-new theImage theWidth theHeight
|
||||
RGBA-IMAGE "Mottle"
|
||||
100 DARKEN-ONLY-MODE)))
|
||||
(let (
|
||||
(mLayer (car (gimp-layer-new theImage theWidth theHeight
|
||||
RGBA-IMAGE "Mottle"
|
||||
100 DARKEN-ONLY-MODE)))
|
||||
)
|
||||
|
||||
(gimp-image-add-layer theImage mLayer 0)
|
||||
(gimp-selection-all theImage)
|
||||
|
|
Loading…
Reference in New Issue