Author: akv
Date: 2011-01-02 17:24:56 +0100 (Sun, 02 Jan 2011)
New Revision: 3777

Modified:
   trunk/plugins/meta-tiff/tiff-meta.c
Log:
Enabling lens-fixing when parsing tiff metadata.

Modified: trunk/plugins/meta-tiff/tiff-meta.c
===================================================================
--- trunk/plugins/meta-tiff/tiff-meta.c 2011-01-02 16:20:55 UTC (rev 3776)
+++ trunk/plugins/meta-tiff/tiff-meta.c 2011-01-02 16:24:56 UTC (rev 3777)
@@ -28,6 +28,7 @@
 #include <string.h> /* memcpy() */
 #include <stdlib.h>
 #include "rs-utils.h"
+#include "rs-lens-fix.h"
 
 /* It is required having some arbitrary maximum exposure time to prevent borked
  * shutter speed values being interpreted from the tiff.
@@ -1900,6 +1901,11 @@
        if (meta->lens_identifier)
                return;
 
+       /* These lenses are identified with varying aperture for lens depending 
on actual focal length. We fix this by
+          setting the correct aperture values, so the lens only will show up 
once in the lens db editor */
+       rs_lens_fix(meta);
+
+
        /* Build identifier string */
        GString *identifier = g_string_new("");
        if (meta->lens_id > 0)


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

Reply via email to