From: Niels K. B. J. <nk...@us...> - 2009-04-06 03:55:47
|
Update of /cvsroot/ufraw/ufraw In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv3979 Modified Files: ufraw_conf.c Log Message: Fix loading lightness adjustment settings from ID files. Based on patch by Simon Kirby. Index: ufraw_conf.c =================================================================== RCS file: /cvsroot/ufraw/ufraw/ufraw_conf.c,v retrieving revision 1.138 retrieving revision 1.139 diff -u -d -r1.138 -r1.139 --- ufraw_conf.c 9 Feb 2009 05:03:29 -0000 1.138 +++ ufraw_conf.c 6 Apr 2009 03:55:37 -0000 1.139 @@ -1222,6 +1222,10 @@ dst->autoBlack = src->autoBlack; dst->restoreDetails = src->restoreDetails; dst->clipHighlights = src->clipHighlights; + for (i=0; i<adjustment_steps; i++) { + dst->lightnessHue[i] = src->lightnessHue[i]; + dst->lightnessAdjustment[i] = src->lightnessAdjustment[i]; + } dst->grayscaleMode = src->grayscaleMode; memcpy(dst->grayscaleMixer, src->grayscaleMixer, sizeof dst->grayscaleMixer); |