[gegl] operations: motion-blur-zoom: use whole region's height to determine y center
- From: Thomas Manni <tmanni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] operations: motion-blur-zoom: use whole region's height to determine y center
- Date: Mon, 15 Dec 2014 17:59:27 +0000 (UTC)
commit b9894310cf524c6a727376cbaeb8596ef797bdbb
Author: Thomas Manni <thomas manni free fr>
Date: Mon Dec 15 12:47:54 2014 +0100
operations: motion-blur-zoom: use whole region's height to determine y center
operations/common/motion-blur-zoom.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/operations/common/motion-blur-zoom.c b/operations/common/motion-blur-zoom.c
index cb588f4..436270b 100644
--- a/operations/common/motion-blur-zoom.c
+++ b/operations/common/motion-blur-zoom.c
@@ -138,7 +138,7 @@ process (GeglOperation *operation,
center_x = gegl_coordinate_relative_to_pixel (
o->center_x, whole_region->width);
center_y = gegl_coordinate_relative_to_pixel (
- o->center_y, whole_region->width);
+ o->center_y, whole_region->height);
src_rect = *roi;
src_rect.x -= op_area->left;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]