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:
Mukund Sivaraman 2007-05-04 10:49:22 +00:00 committed by Mukund Sivaraman
parent 2b2f5c24fe
commit 46e4bc9866
2 changed files with 9 additions and 1 deletions

View file

@ -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.

View file

@ -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);