use GIMP_CURVE_FREE, not _SMOOTH. Fixes the resp. PDB call.

2008-11-10  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawable-curves.c (gimp_drawable_curves_explicit):
	use GIMP_CURVE_FREE, not _SMOOTH. Fixes the resp. PDB call.


svn path=/trunk/; revision=27601
This commit is contained in:
Michael Natterer 2008-11-10 15:18:40 +00:00 committed by Michael Natterer
parent 83dd28e7a0
commit fb3fca651b
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-11-10 Michael Natterer <mitch@gimp.org>
* app/core/gimpdrawable-curves.c (gimp_drawable_curves_explicit):
use GIMP_CURVE_FREE, not _SMOOTH. Fixes the resp. PDB call.
2008-11-10 Sven Neumann <sven@gimp.org>
* app/core/gimpunit.c: use NC_() to provide translation contexts.

View File

@ -129,7 +129,7 @@ gimp_drawable_curves_explicit (GimpDrawable *drawable,
gimp_data_freeze (GIMP_DATA (curve));
gimp_curve_set_curve_type (curve, GIMP_CURVE_SMOOTH);
gimp_curve_set_curve_type (curve, GIMP_CURVE_FREE);
for (i = 0; i < 256; i++)
gimp_curve_set_curve (curve,