gimp r27599 - in trunk: . plug-ins/common



Author: neo
Date: Mon Nov 10 10:44:03 2008
New Revision: 27599
URL: http://svn.gnome.org/viewvc/gimp?rev=27599&view=rev

Log:
2008-11-10  Sven Neumann  <sven gimp org>

	* plug-ins/common/unsharp-mask.c (unsharp_region): update the
	progress less often.



Modified:
   trunk/ChangeLog
   trunk/plug-ins/common/unsharp-mask.c

Modified: trunk/plug-ins/common/unsharp-mask.c
==============================================================================
--- trunk/plug-ins/common/unsharp-mask.c	(original)
+++ trunk/plug-ins/common/unsharp-mask.c	Mon Nov 10 10:44:03 2008
@@ -456,7 +456,7 @@
       blur_line (ctable, cmatrix, cmatrix_length, src, dest, width, bytes);
       gimp_pixel_rgn_set_row (destPR, dest, x1, y1 + row, width);
 
-      if (show_progress && row % 8 == 0)
+      if (show_progress && row % 16 == 0)
         gimp_progress_update ((gdouble) row / (3 * height));
     }
 
@@ -467,7 +467,7 @@
       blur_line (ctable, cmatrix, cmatrix_length, src, dest, height, bytes);
       gimp_pixel_rgn_set_col (destPR, dest, x1 + col, y1, height);
 
-      if (show_progress && col % 8 == 0)
+      if (show_progress && col % 16 == 0)
         gimp_progress_update ((gdouble) col / (3 * width) + 0.33);
     }
 
@@ -505,7 +505,7 @@
             }
         }
 
-      if (show_progress && row % 8 == 0)
+      if (show_progress && row % 16 == 0)
         gimp_progress_update ((gdouble) row / (3 * height) + 0.67);
 
       gimp_pixel_rgn_set_row (destPR, dest, x1, y1 + row, width);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]