Author: abrander
Date: 2009-07-06 18:34:05 +0200 (Mon, 06 Jul 2009)
New Revision: 2566

Modified:
   trunk/plugins/lensfun/lensfun.c
Log:
Restored RSLensfun for unknown lenses.

Modified: trunk/plugins/lensfun/lensfun.c
===================================================================
--- trunk/plugins/lensfun/lensfun.c     2009-07-06 15:59:24 UTC (rev 2565)
+++ trunk/plugins/lensfun/lensfun.c     2009-07-06 16:34:05 UTC (rev 2566)
@@ -267,6 +267,8 @@
        if (!ldb)
        {
                g_warning ("Failed to create database");
+               rs_filter_response_set_image(response, input);
+               g_object_unref(input);
                return response;
        }
 
@@ -279,6 +281,8 @@
        if (!cameras)
        {
                g_debug("camera not found (make: \"%s\" model: \"%s\")", 
lensfun->make, lensfun->model);
+               rs_filter_response_set_image(response, input);
+               g_object_unref(input);
                return response;
        }
 
@@ -308,6 +312,8 @@
        if (!lenses)
        {
                g_debug("lens not found (make: \"%s\" model: \"%s\")", 
lensfun->lens_make, model);
+               rs_filter_response_set_image(response, input);
+               g_object_unref(input);
                return response;
        }
 


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

Reply via email to