Commit e8d323c8 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

show the dialog when called with GIMP_RUN_WITH_LAST_VALS. This is better

2007-09-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/iwarp.c (run): show the dialog when called with
	GIMP_RUN_WITH_LAST_VALS. This is better than just doing nothing
	when being called from the Repeat menu item (bug #480796).

svn path=/trunk/; revision=23669
parent 71e394f8
2007-09-27 Sven Neumann <sven@gimp.org>
* plug-ins/common/iwarp.c (run): show the dialog when called with
GIMP_RUN_WITH_LAST_VALS. This is better than just doing nothing
when being called from the Repeat menu item (bug #480796).
2007-09-27 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/add-bevel.scm: fixed GimpImageType
......@@ -292,13 +292,14 @@ run (const gchar *name,
destdrawable = drawable = gimp_drawable_get (param[2].data.d_drawable);
imageID = param[1].data.d_int32;
/* Make sure that the drawable is gray or RGB color */
/* Make sure that the drawable is grayscale or RGB color */
if (gimp_drawable_is_rgb (drawable->drawable_id) ||
gimp_drawable_is_gray (drawable->drawable_id))
{
switch (run_mode)
{
case GIMP_RUN_INTERACTIVE:
case GIMP_RUN_WITH_LAST_VALS:
gimp_get_data (PLUG_IN_PROC, &iwarp_vals);
gimp_tile_cache_ntiles (2 * (drawable->width + gimp_tile_width ()-1) /
gimp_tile_width ());
......@@ -312,10 +313,6 @@ run (const gchar *name,
status = GIMP_PDB_CALLING_ERROR;
break;
case GIMP_RUN_WITH_LAST_VALS:
status = GIMP_PDB_CALLING_ERROR;
break;
default:
break;
}
......
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