mirror of https://github.com/GNOME/gimp.git
Don't round texture coordinates when not using interpolation. Fixes bug
2004-06-15 Philip Lafleur <plafleur@cvs.gnome.org> * app/core/gimpdrawable-transform.c (gimp_drawable_transform_tiles_affine): Don't round texture coordinates when not using interpolation. Fixes bug #144352 for the nearest neighbor case only.
This commit is contained in:
parent
c5810390d1
commit
8059d9aa29
|
@ -1,3 +1,9 @@
|
|||
2004-06-15 Philip Lafleur <plafleur@cvs.gnome.org>
|
||||
|
||||
* app/core/gimpdrawable-transform.c (gimp_drawable_transform_tiles_affine):
|
||||
Don't round texture coordinates when not using interpolation. Fixes
|
||||
bug #144352 for the nearest neighbor case only.
|
||||
|
||||
2004-06-14 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/paint/gimpinkoptions.c: replaced some arbitrary values with
|
||||
|
|
|
@ -360,8 +360,8 @@ gimp_drawable_transform_tiles_affine (GimpDrawable *drawable,
|
|||
if (interpolation_type == GIMP_INTERPOLATION_NONE)
|
||||
{
|
||||
guchar color[MAX_CHANNELS];
|
||||
gint iu = RINT (u[0]);
|
||||
gint iv = RINT (v[0]);
|
||||
gint iu = (gint) u [0];
|
||||
gint iv = (gint) v [0];
|
||||
gint b;
|
||||
|
||||
if (iu >= u1 && iu < u2 &&
|
||||
|
|
|
@ -360,8 +360,8 @@ gimp_drawable_transform_tiles_affine (GimpDrawable *drawable,
|
|||
if (interpolation_type == GIMP_INTERPOLATION_NONE)
|
||||
{
|
||||
guchar color[MAX_CHANNELS];
|
||||
gint iu = RINT (u[0]);
|
||||
gint iv = RINT (v[0]);
|
||||
gint iu = (gint) u [0];
|
||||
gint iv = (gint) v [0];
|
||||
gint b;
|
||||
|
||||
if (iu >= u1 && iu < u2 &&
|
||||
|
|
Loading…
Reference in New Issue