[Rawstudio-commit] r3185 - trunk/plugins/crop

Klaus Post klauspost at gmail.com
Fri Feb 12 23:41:08 CET 2010


Author: post
Date: 2010-02-12 23:41:07 +0100 (Fri, 12 Feb 2010)
New Revision: 3185

Modified:
   trunk/plugins/crop/crop.c
Log:
Don't assert that scale > 0.

Modified: trunk/plugins/crop/crop.c
===================================================================
--- trunk/plugins/crop/crop.c	2010-02-12 22:36:52 UTC (rev 3184)
+++ trunk/plugins/crop/crop.c	2010-02-12 22:41:07 UTC (rev 3185)
@@ -241,8 +241,6 @@
 	crop->scale = 1.0f;
 	rs_filter_get_recursive(RS_FILTER(crop), "scale", &crop->scale, NULL);
 
-	g_assert(crop->scale > 0.0f);
-
 	gint parent_width = rs_filter_get_width(filter->previous);
 	gint parent_height = rs_filter_get_height(filter->previous);
 




More information about the Rawstudio-commit mailing list