Update of /cvsroot/ufraw/ufraw In directory vz-cvs-3.sog:/tmp/cvs-serv26326
Modified Files: ufraw_lensfun.cc Log Message: Make sure lensfun correction is applied when loading configuration file. Index: ufraw_lensfun.cc =================================================================== RCS file: /cvsroot/ufraw/ufraw/ufraw_lensfun.cc,v retrieving revision 1.27 retrieving revision 1.28 diff -u -d -r1.27 -r1.28 --- ufraw_lensfun.cc 12 Aug 2011 04:24:10 -0000 1.27 +++ ufraw_lensfun.cc 18 Aug 2011 03:05:17 -0000 1.28 @@ -782,6 +782,11 @@ // Changing the lens reset Auto="no". So set it back. LensfunAuto.Set("yes"); lf_free(lenses); + // When loading a configuration file nothing changes, so we + // need to manually trigger the uf_value_changed event. + (*this)[ufTCA].Event(uf_value_changed); + (*this)[ufVignetting].Event(uf_value_changed); + (*this)[ufDistortion].Event(uf_value_changed); return; } } @@ -793,6 +798,11 @@ // Changing the lens reset Auto="no". So set it back. LensfunAuto.Set("yes"); lf_free(lenses); + // When loading a configuration file nothing changes, so we + // need to manually trigger the uf_value_changed event. + (*this)[ufTCA].Event(uf_value_changed); + (*this)[ufVignetting].Event(uf_value_changed); + (*this)[ufDistortion].Event(uf_value_changed); return; } } ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ ufraw-cvs mailing list ufraw-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ufraw-cvs