only store the settings if run interactively. Fixes bug #356044.

2006-09-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/unsharp.c (run): only store the settings if run
	interactively. Fixes bug #356044.
This commit is contained in:
Sven Neumann 2006-09-15 08:01:12 +00:00 committed by Sven Neumann
parent 3c2c165b9c
commit 49bbdfa9a2
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2006-09-15 Sven Neumann <sven@gimp.org>
* plug-ins/common/unsharp.c (run): only store the settings if run
interactively. Fixes bug #356044.
2006-09-14 Bill Skaggs <weskaggs@primate.ucdavis.edu>
Trying to implement some usability recommendations from

View file

@ -226,8 +226,9 @@ run (const gchar *name,
gimp_displays_flush ();
/* set data for next use of filter */
gimp_set_data (PLUG_IN_PROC, &unsharp_params,
sizeof (UnsharpMaskParams));
if (run_mode == GIMP_RUN_INTERACTIVE)
gimp_set_data (PLUG_IN_PROC,
&unsharp_params, sizeof (UnsharpMaskParams));
gimp_drawable_detach(drawable);
values[0].data.d_status = status;