[Rawstudio-commit] r3506 - trunk/src

Klaus Post klauspost at gmail.com
Tue Aug 24 20:04:33 CEST 2010


Author: post
Date: 2010-08-24 20:04:33 +0200 (Tue, 24 Aug 2010)
New Revision: 3506

Modified:
   trunk/src/rs-preview-widget.c
Log:
Set proper request parameters, if make_cbdata should happend to be the first one called.

Modified: trunk/src/rs-preview-widget.c
===================================================================
--- trunk/src/rs-preview-widget.c	2010-08-21 16:29:58 UTC (rev 3505)
+++ trunk/src/rs-preview-widget.c	2010-08-24 18:04:33 UTC (rev 3506)
@@ -2526,6 +2526,11 @@
 		return FALSE;
 
 	RSFilterRequest *request = rs_filter_request_clone(preview->request[view]);
+	rs_filter_request_set_quick(request, TRUE);
+	if (preview->zoom_to_fit)
+		rs_filter_request_set_roi(request, NULL);
+	rs_filter_set_recursive(RS_FILTER(preview->filter_input), "demosaic-allow-downscale",  preview->zoom_to_fit, NULL);
+
 	rs_filter_param_set_object(RS_FILTER_PARAM(request), "colorspace", preview->display_color_space);
 	RSFilterResponse *response = rs_filter_get_image(preview->filter_cache1[view], request);
 	RS_IMAGE16 *image = rs_filter_response_get_image(response);




More information about the Rawstudio-commit mailing list