Author: post
Date: 2010-04-11 14:39:23 +0200 (Sun, 11 Apr 2010)
New Revision: 3358

Modified:
   trunk/src/rs-toolbox.c
Log:
Don't signal that image has changed spatially until profile has been set, since 
doing that flushes all caches (resulting in two demosaic's).

Modified: trunk/src/rs-toolbox.c
===================================================================
--- trunk/src/rs-toolbox.c      2010-04-11 11:59:49 UTC (rev 3357)
+++ trunk/src/rs-toolbox.c      2010-04-11 12:39:23 UTC (rev 3358)
@@ -984,7 +984,6 @@
                        for(i=0;i<NLENS;i++)
                                
gtk_widget_set_sensitive(GTK_WIDGET(toolbox->lens[snapshot][i]), TRUE);
                }
-               photo_spatial_changed(toolbox->photo, toolbox);
        }
        else
                /* This will reset everything */
@@ -1025,6 +1024,7 @@
                else
                        
gtk_combo_box_set_active(GTK_COMBO_BOX(toolbox->selector), 1);
                /* FIXME: support ICC profiles too */
+               photo_spatial_changed(toolbox->photo, toolbox);
        }
        gtk_widget_set_sensitive(toolbox->transforms, !!(toolbox->photo));
 }


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to