mirror of https://github.com/GNOME/gimp.git
Rename 'select' to 'selection' since that is what it holds.
* plug-ins/script-fu/scripts/add-bevel.scm (script-fu-add-bevel): Rename 'select' to 'selection' since that is what it holds. svn path=/trunk/; revision=27069
This commit is contained in:
parent
6e876e8f7c
commit
fece66338e
|
@ -1,3 +1,8 @@
|
|||
2008-09-28 Martin Nordholts <martinn@svn.gnome.org>
|
||||
|
||||
* plug-ins/script-fu/scripts/add-bevel.scm (script-fu-add-bevel):
|
||||
Rename 'select' to 'selection' since that is what it holds.
|
||||
|
||||
2008-09-28 Martin Nordholts <martinn@svn.gnome.org>
|
||||
|
||||
* app/widgets/gimpdialogfactory.c
|
||||
|
|
|
@ -74,7 +74,7 @@
|
|||
"Bumpmap"
|
||||
100
|
||||
NORMAL-MODE)))
|
||||
(select 0)
|
||||
(selection 0)
|
||||
)
|
||||
|
||||
(gimp-context-push)
|
||||
|
@ -107,7 +107,7 @@
|
|||
)
|
||||
|
||||
; Store it for later.
|
||||
(set! select (car (gimp-selection-save image)))
|
||||
(set! selection (car (gimp-selection-save image)))
|
||||
; Try to lose the jaggies
|
||||
(gimp-selection-feather image 2)
|
||||
|
||||
|
@ -153,13 +153,13 @@
|
|||
;
|
||||
(if (= bevelling-whole-image TRUE)
|
||||
(gimp-selection-none image) ; No selection to start with
|
||||
(gimp-selection-load select)
|
||||
(gimp-selection-load selection)
|
||||
)
|
||||
; If they started with a selection, they can Select->Invert then
|
||||
; Edit->Clear for a cutout.
|
||||
|
||||
; clean up
|
||||
(gimp-image-remove-channel image select)
|
||||
(gimp-image-remove-channel image selection)
|
||||
(if (= keep-bump-layer TRUE)
|
||||
(gimp-drawable-set-visible bump-layer 0)
|
||||
(gimp-image-remove-layer image bump-layer)
|
||||
|
|
Loading…
Reference in New Issue