Commit c2020bf5 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

fixed GimpImageType parameter passed to gimp-layer-new. Do not register

2007-09-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/add-bevel.scm: fixed GimpImageType
	parameter passed to gimp-layer-new. Do not register the script for
	grayscale images, it doesn't handle them properly.

svn path=/trunk/; revision=23667
parent b774625e
2007-09-27 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/add-bevel.scm: fixed GimpImageType
parameter passed to gimp-layer-new. Do not register the script for
grayscale images, it doesn't handle them properly.
2007-09-27 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scheme-wrapper.c: unified error
......@@ -70,7 +70,7 @@
(bump-layer (car (gimp-layer-new image
(+ width 2)
(+ height 2)
GRAY
RGB-IMAGE
"Bumpmap"
100
NORMAL-MODE)))
......@@ -188,7 +188,7 @@
"Andrew Donkin <ard@cs.waikato.ac.nz>"
"Andrew Donkin"
"1997/11/06"
"RGB* GRAY*"
"RGB*"
SF-IMAGE "Image" 0
SF-DRAWABLE "Drawable" 0
SF-ADJUSTMENT _"Thickness" '(5 0 30 1 2 0 0)
......@@ -196,5 +196,4 @@
SF-TOGGLE _"Keep bump layer" FALSE
)
(script-fu-menu-register "script-fu-add-bevel"
"<Image>/Filters/Decor")
(script-fu-menu-register "script-fu-add-bevel" "<Image>/Filters/Decor")
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