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

Modified Files:
        ufraw_lensfun.cc 
Log Message:
Try using the "standard" lens of compact cameras.


Index: ufraw_lensfun.cc
===================================================================
RCS file: /cvsroot/ufraw/ufraw/ufraw_lensfun.cc,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- ufraw_lensfun.cc    16 Mar 2010 04:55:23 -0000      1.10
+++ ufraw_lensfun.cc    26 Mar 2010 03:56:40 -0000      1.11
@@ -634,6 +634,15 @@
                return;
            }
        }
+       // Try using the "standard" lens of compact cameras.
+       const lfLens **lenses = LensDB()->FindLenses(&Camera,
+               NULL, "Standard", LF_SEARCH_LOOSE);
+       if (lenses != NULL) {
+           SetLensModel(*lenses[0]);
+           LensfunAuto.Set("yes");
+           lf_free(lenses);
+           return;
+       }
     }
     // LensfunAuto == "no"
     (*this)[ufTCA].Reset();


------------------------------------------------------------------------------
Download Intel® 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
ufraw-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ufraw-cvs

Reply via email to