[gimp/gimp-2-8] Bug 755317 - "Apply lens" doesn't work on big images (2366x2366)
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-8] Bug 755317 - "Apply lens" doesn't work on big images (2366x2366)
- Date: Fri, 9 Oct 2015 21:12:44 +0000 (UTC)
commit 9b0b1347ec948d7ecb7a5ebe74d883177fafc97b
Author: Jonathan Tait <jontait2 gmail com>
Date: Mon Sep 21 01:38:16 2015 +0100
Bug 755317 - "Apply lens" doesn't work on big images (2366x2366)
Redefine sizes as glong.
plug-ins/common/lens-apply.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/common/lens-apply.c b/plug-ins/common/lens-apply.c
index ef564d3..97d01d2 100644
--- a/plug-ins/common/lens-apply.c
+++ b/plug-ins/common/lens-apply.c
@@ -235,7 +235,8 @@ drawlens (GimpDrawable *drawable,
gint x1, y1, x2, y2;
guchar *src, *dest;
gint i, col;
- gfloat regionwidth, regionheight, dx, dy, xsqr, ysqr;
+ glong regionwidth, regionheight;
+ gfloat dx, dy, xsqr, ysqr;
gfloat a, b, c, asqr, bsqr, csqr, x, y;
glong pixelpos, pos;
GimpRGB background;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]