mirror of https://github.com/GNOME/gimp.git
applied patch from Stephane Chauveau that corrects the calculation of the
2006-02-16 Sven Neumann <sven@gimp.org> * plug-ins/common/unsharp.c: applied patch from Stephane Chauveau that corrects the calculation of the tile cache size (bug #331344).
This commit is contained in:
parent
ec2a115e4e
commit
cbf74016c5
|
@ -1,3 +1,8 @@
|
|||
2006-02-16 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* plug-ins/common/unsharp.c: applied patch from Stephane Chauveau
|
||||
that corrects the calculation of the tile cache size (bug #331344).
|
||||
|
||||
2006-02-15 Carol Spears <carol@gimp.org>
|
||||
|
||||
* plug-ins/pygimp/gimpfu.py: removed the snake image from the
|
||||
|
|
|
@ -176,7 +176,8 @@ run (const gchar *name,
|
|||
* Get drawable information...
|
||||
*/
|
||||
drawable = gimp_drawable_get (param[2].data.d_drawable);
|
||||
gimp_tile_cache_ntiles (2 * (drawable->width / gimp_tile_width () + 1));
|
||||
gimp_tile_cache_ntiles (2 * MAX (drawable->width / gimp_tile_width () + 1 ,
|
||||
drawable->height / gimp_tile_height () + 1));
|
||||
|
||||
switch (run_mode)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue