Commit fece6633 authored by Martin Nordholts's avatar Martin Nordholts

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
parent 6e876e8f
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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment