Author: post
Date: 2011-10-31 17:33:38 +0100 (Mon, 31 Oct 2011)
New Revision: 4052
Modified:
trunk/plugins/resample/resample.c
Log:
Make sure scale isn't wrongly calculated if size hasn't been set. Fixes
denoise/sharpen disabled on Quick Export (!!!)
Modified: trunk/plugins/resample/resample.c
===================================================================
--- trunk/plugins/resample/resample.c 2011-10-31 14:44:10 UTC (rev 4051)
+++ trunk/plugins/resample/resample.c 2011-10-31 16:33:38 UTC (rev 4052)
@@ -276,6 +276,10 @@
mask |= RS_FILTER_CHANGED_DIMENSION;
}
+ if (new_width < 0 || new_height < 0)
+ resample->scale = 1.0f;
+
+
return mask;
}
_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit