[Rawstudio-commit] r2755 - trunk/plugins/lensfun

Klaus Post klauspost at gmail.com
Sun Nov 22 16:41:31 CET 2009


Author: post
Date: 2009-11-22 16:41:31 +0100 (Sun, 22 Nov 2009)
New Revision: 2755

Modified:
   trunk/plugins/lensfun/lensfun.c
Log:
Lensfun: Make ROI respect window offset.

Modified: trunk/plugins/lensfun/lensfun.c
===================================================================
--- trunk/plugins/lensfun/lensfun.c	2009-11-22 15:23:46 UTC (rev 2754)
+++ trunk/plugins/lensfun/lensfun.c	2009-11-22 15:41:31 UTC (rev 2755)
@@ -517,7 +517,7 @@
 				t[i].mod = mod;
 				t[i].start_y = y_offset;
 				y_offset += y_per_thread;
-				y_offset = MIN(roi->height, y_offset);
+				y_offset = MIN(roi->y + roi->height, y_offset);
 				t[i].end_y = y_offset;
 				t[i].effective_flags = effective_flags;
 				t[i].roi = roi;




More information about the Rawstudio-commit mailing list