Commit 0eff2675 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

applied patch from Guillermo S. Romero that moves the newly added PDB

2003-08-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/edge.c: applied patch from Guillermo S. Romero
	that moves the newly added PDB parameter to the end and documents
	the former default value.

	* plug-ins/script-fu/scripts/3d-outline.scm
	* plug-ins/script-fu/scripts/circuit.scm
	* plug-ins/script-fu/scripts/lava.scm
	* plug-ins/script-fu/scripts/predator.scm: changed accordingly by
	Guillermo S. Romero.
parent 50e63f0c
2003-08-27 Sven Neumann <sven@gimp.org>
* plug-ins/common/edge.c: applied patch from Guillermo S. Romero
that moves the newly added PDB parameter to the end and documents
the former default value.
* plug-ins/script-fu/scripts/3d-outline.scm
* plug-ins/script-fu/scripts/circuit.scm
* plug-ins/script-fu/scripts/lava.scm
* plug-ins/script-fu/scripts/predator.scm: changed accordingly by
Guillermo S. Romero.
2003-08-27 Sven Neumann <sven@gimp.org>
* libgimpbase/Makefile.am (EXTRA_DIST)
......@@ -10,7 +10,7 @@ GIMP version 2.0.
Overview of Changes in GIMP 1.3.19
==================================
- Some work on a new gimp-help system [Mitch]
- Migration towards new gimp-help system [Mitch]
- Lots of path tool improvements [Simon]
- Improved new composite functions and enabled them by default [Helvetix]
- UTF-8 validate all strings coming in from the PDB [Yosh, Mitch]
......@@ -20,7 +20,8 @@ Overview of Changes in GIMP 1.3.19
Other contributors:
Adam D. Moss, Tor Lillqvist, Jakub Steiner, Alan Horkan,
Avi Bercovich, S. Mukund, Maurits Rijk, Guillermo S. Romero
Avi Bercovich, S. Mukund, Maurits Rijk, Guillermo S. Romero,
Seth Burgess, Wolfgang Hofer, Sven Neumann
Overview of Changes in GIMP 1.3.18
......
......@@ -142,14 +142,16 @@ query (void)
{ GIMP_PDB_IMAGE, "image", "Input image (unused)" },
{ GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
{ GIMP_PDB_FLOAT, "amount", "Edge detection amount" },
{ GIMP_PDB_INT32, "edgemode", "Edge detection algorithm: { SOBEL (0), PREWITT (1), GRADIENT (2), ROBERTS (3), DIFFERENTIAL (4), LAPLACE (5) }" },
{ GIMP_PDB_INT32, "wrapmode", "Edge detection behavior: { WRAP (0), SMEAR (1), BLACK (2) }" }
{ GIMP_PDB_INT32, "wrapmode", "Edge detection behavior: { WRAP (0), SMEAR (1), BLACK (2) }" },
{ GIMP_PDB_INT32, "edgemode", "Edge detection algorithm: { SOBEL (0), PREWITT (1), GRADIENT (2), ROBERTS (3), DIFFERENTIAL (4), LAPLACE (5) }" }
};
gchar *help_string =
"Perform edge detection on the contents of the specified drawable."
"AMOUNT is an arbitrary constant, WRAPMODE is like displace plug-in "
"(useful for tilable image).";
"(useful for tilable image). EDGEMODE sets the kind of matrix "
"transform applied to the pixels, SOBEL was the method used in older "
"versions.";
gimp_install_procedure ("plug_in_edge",
"Perform edge detection on the contents of the specified drawable",
......@@ -207,8 +209,8 @@ run (const gchar *name,
if (status == GIMP_PDB_SUCCESS)
{
evals.amount = param[3].data.d_float;
evals.edgemode = param[4].data.d_int32;
evals.wrapmode = param[5].data.d_int32;
evals.wrapmode = param[4].data.d_int32;
evals.edgemode = param[5].data.d_int32;
}
break;
......
......@@ -51,7 +51,7 @@
(gimp-layer-set-visible pattern FALSE)
(set! layer2 (car (gimp-image-merge-visible-layers img 1)))
(plug-in-edge 1 img layer2 2 1)
(plug-in-edge 1 img layer2 2 1 0)
(set! layer3 (car (gimp-layer-copy layer2 TRUE)))
(gimp-image-add-layer img layer3 2)
(plug-in-gauss-iir 1 img layer2 bump-map-blur-radius TRUE TRUE)
......
......@@ -93,7 +93,7 @@
(gimp-selection-load active-selection)
(plug-in-maze 1 image active-layer 5 5 TRUE 0 seed 57 1)
(plug-in-oilify 1 image active-layer mask-size 0)
(plug-in-edge 1 image active-layer 2 1)
(plug-in-edge 1 image active-layer 2 1 0)
(gimp-desaturate active-layer)
(if (and
......
......@@ -83,7 +83,7 @@
(plug-in-solid-noise 1 image active-layer FALSE TRUE seed 2 2 2)
(plug-in-cubism 1 image active-layer tile_size 2.5 0)
(plug-in-oilify 1 image active-layer mask_size 0)
(plug-in-edge 1 image active-layer 2 0)
(plug-in-edge 1 image active-layer 2 0 0)
(plug-in-gauss-rle 1 image active-layer 2 TRUE TRUE)
(plug-in-gradmap 1 image active-layer)
......
......@@ -82,7 +82,7 @@
(if (= pixelize TRUE)
(plug-in-pixelize 1 image active-layer pixel-size))
(plug-in-max-rgb 1 image active-layer 0)
(plug-in-edge 1 image active-layer edge-amount 1)
(plug-in-edge 1 image active-layer edge-amount 1 0)
; clean up the selection copy
(gimp-selection-load active-selection)
......
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