also copy curve->identity.

2008-05-18  Michael Natterer  <mitch@gimp.org>

	* app/gegl/gimpcurvesconfig.c (gimp_curves_config_set_property):
	also copy curve->identity.


svn path=/trunk/; revision=25692
This commit is contained in:
Michael Natterer 2008-05-18 10:20:10 +00:00 committed by Michael Natterer
parent 48dcf22eab
commit 621415d35a
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2008-05-18 Michael Natterer <mitch@gimp.org>
* app/gegl/gimpcurvesconfig.c (gimp_curves_config_set_property):
also copy curve->identity.
2008-05-17 Sven Neumann <sven@gimp.org>
* app/core/gimpimagemap.c: fixed issues with the profiling code.

View File

@ -204,6 +204,8 @@ gimp_curves_config_set_property (GObject *object,
sizeof (GimpVector2) * src_curve->n_points);
memcpy (dest_curve->samples, src_curve->samples,
sizeof (gdouble) * src_curve->n_samples);
dest_curve->identity = src_curve->identity;
}
}
break;