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;
_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit