mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-21 12:02:32 +00:00
update the progress less often.
2008-11-10 Sven Neumann <sven@gimp.org> * plug-ins/common/unsharp-mask.c (unsharp_region): update the progress less often. svn path=/trunk/; revision=27599
This commit is contained in:
parent
ff5e76cf5c
commit
e4b3589dab
|
@ -1,3 +1,8 @@
|
|||
2008-11-10 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* plug-ins/common/unsharp-mask.c (unsharp_region): update the
|
||||
progress less often.
|
||||
|
||||
2008-11-10 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/actions/text-tool-actions.c (text_tool_actions): added
|
||||
|
|
|
@ -456,7 +456,7 @@ unsharp_region (GimpPixelRgn *srcPR,
|
|||
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 @@ unsharp_region (GimpPixelRgn *srcPR,
|
|||
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 @@ unsharp_region (GimpPixelRgn *srcPR,
|
|||
}
|
||||
}
|
||||
|
||||
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);
|
||||
|
|
Loading…
Reference in a new issue