Update of /cvsroot/ufraw/ufraw
In directory vz-cvs-3.sog:/tmp/cvs-serv18086

Modified Files:
        ufraw_settings.cc 
Log Message:
Recalculate WB if we are not loading an ID file.


Index: ufraw_settings.cc
===================================================================
RCS file: /cvsroot/ufraw/ufraw/ufraw_settings.cc,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- ufraw_settings.cc   5 Aug 2011 04:09:14 -0000       1.18
+++ ufraw_settings.cc   18 Aug 2011 01:49:21 -0000      1.19
@@ -357,8 +357,12 @@
     if (strcmp(uf->conf->make, raw->make) != 0 ||
             strcmp(uf->conf->model, raw->model) != 0)
         uf->WBDirty = TRUE; // Re-calculate channel multipliers.
+    if (uf->LoadingID)
+        uf->WBDirty = TRUE; // Re-calculate channel multipliers.
     g_strlcpy(uf->conf->make, raw->make, max_name);
     g_strlcpy(uf->conf->model, raw->model, max_name);
+    if (!uf->LoadingID)
+        uf->WBDirty = TRUE; // Re-calculate channel multipliers.
 
     const wb_data *lastPreset = NULL;
     uf->wb_presets_make_model_match = FALSE;


------------------------------------------------------------------------------
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

Reply via email to