Update of /cvsroot/ufraw/ufraw
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv7618

Modified Files:
        ufraw_lensfun.cc 
Log Message:
Disable auto lens search for 4-color cameras until lensfun can handle such 
images.

Index: ufraw_lensfun.cc
===================================================================
RCS file: /cvsroot/ufraw/ufraw/ufraw_lensfun.cc,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- ufraw_lensfun.cc    27 Mar 2010 13:15:07 -0000      1.12
+++ ufraw_lensfun.cc    30 Mar 2010 02:15:07 -0000      1.13
@@ -624,6 +624,8 @@
     Distance.Reset();
     UFString &LensfunAuto = Image[ufLensfunAuto];
     if (LensfunAuto.IsEqual("yes")) {
+       // XXX: Remove this test when lensfun is updated to handle 4-color raws.
+       if (uf->colors < 4) {
        if (strlen(uf->conf->lensText) > 0) {
            const lfLens **lenses = LensDB()->FindLenses(&Camera,
                    NULL, uf->conf->lensText, LF_SEARCH_LOOSE);
@@ -643,6 +645,7 @@
            lf_free(lenses);
            return;
        }
+       }
     }
     // LensfunAuto == "no"
     (*this)[ufTCA].Reset();


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
ufraw-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ufraw-cvs

Reply via email to