reduced the number of progress updates.
2007-05-04 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/fractaltrace.c: reduced the number of progress
updates.
svn path=/trunk/; revision=22406
This commit is contained in:
parent
2b2f5c24fe
commit
46e4bc9866
2 changed files with 9 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2007-05-04 Mukund Sivaraman <muks@mukund.org>
|
||||
|
||||
* plug-ins/common/fractaltrace.c: reduced the number of progress
|
||||
updates.
|
||||
|
||||
2007-05-04 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* plug-ins/common/dog.c: reduced the number of progress updates.
|
||||
|
|
|
|||
|
|
@ -502,9 +502,12 @@ filter (GimpDrawable *drawable)
|
|||
}
|
||||
pixels_set (x, y, &pixel);
|
||||
}
|
||||
gimp_progress_update ((gdouble) (y-selection.y1) / selection.height);
|
||||
if ((y % (selection.height / 100)) == 0)
|
||||
gimp_progress_update ((gdouble) (y-selection.y1) / selection.height);
|
||||
}
|
||||
|
||||
gimp_progress_update (1.0);
|
||||
|
||||
pixels_store ();
|
||||
|
||||
gimp_drawable_flush (drawable);
|
||||
|
|
|
|||
Loading…
Reference in a new issue