Bill Skaggs <weskaggs@primate.ucdavis.edu>

* plug-ins/common/screenshot.c: when shooting a region, apply delay
	_after_ selecting region, applying before is useless.
This commit is contained in:
William Skaggs 2006-09-15 16:11:36 +00:00
parent 6ee3d9c47e
commit 9da34b7e79
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-09-15 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/screenshot.c: when shooting a region, apply delay
_after_ selecting region, applying before is useless.
2006-09-15 Sven Neumann <sven@gimp.org>
* plug-ins/pygimp/gimpmodule.c: added domain_register method.

View File

@ -328,7 +328,7 @@ run (const gchar *name,
if (status == GIMP_PDB_SUCCESS)
{
if (shootvals.select_delay > 0)
if (shootvals.select_delay > 0 && shootvals.shoot_type != SHOOT_REGION)
shoot_delay (shootvals.select_delay);
if (shootvals.shoot_type != SHOOT_ROOT && ! shootvals.window_id)
@ -338,6 +338,9 @@ run (const gchar *name,
if (! shootvals.window_id)
status = GIMP_PDB_CANCEL;
}
if (shootvals.select_delay > 0 && shootvals.shoot_type == SHOOT_REGION)
shoot_delay (shootvals.select_delay);
}
if (status == GIMP_PDB_SUCCESS)