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:
committed by
Sven Neumann
parent
3c2c165b9c
commit
49bbdfa9a2
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user