Author: akv
Date: 2009-12-30 22:28:08 +0100 (Wed, 30 Dec 2009)
New Revision: 2925

Modified:
   branches/rawstudio-ng-color/plugins/lensfun/lensfun.c
Log:
Obaying disabling of lens correction via lens editor when using lensfun filter.

Modified: branches/rawstudio-ng-color/plugins/lensfun/lensfun.c
===================================================================
--- branches/rawstudio-ng-color/plugins/lensfun/lensfun.c       2009-12-30 
21:12:38 UTC (rev 2924)
+++ branches/rawstudio-ng-color/plugins/lensfun/lensfun.c       2009-12-30 
21:28:08 UTC (rev 2925)
@@ -457,7 +457,7 @@
                        }
                }
 
-               
+               lensfun->distortion_enabled = 
rs_lens_get_lensfun_enabled(lensfun->lens);               
                if ((!lensfun->selected_lens || !lensfun->distortion_enabled) 
&& lensfun->selected_camera)
                {
                        g_debug("Lensfun: Lens not found or lens is disabled. 
Using neutral lense.");


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to