[gegl] Make mirrors op mirror offset respect zoom



commit 7c887a789896757089fbaa0c96bd0d1fd4452b9b
Author: Alexia Death <alexiadeath gmail com>
Date:   Fri Feb 12 19:47:25 2010 +0200

    Make mirrors op mirror offset respect zoom

 operations/workshop/mirrors.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/operations/workshop/mirrors.c b/operations/workshop/mirrors.c
index 7e9a419..08f8ba1 100644
--- a/operations/workshop/mirrors.c
+++ b/operations/workshop/mirrors.c
@@ -158,7 +158,7 @@ apply_mirror (double mirror_angle,
         calc_undistorted_coords(roi->x + col + 0.01, roi->y + row - 0.01, mirror_angle, result_angle,
                                   nsegs,
                                   cen_x, cen_y,
-                                  off_x, off_y,
+                                  off_x * input_scale, off_y * input_scale,
                                   &cx, &cy);
 
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]