From: dooglus Date: Tue, 1 Jan 2008 14:51:43 +0000 (+0000) Subject: Don't render the Blur layer when quality is 10. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=13e2aef98f3ce24c04c0362c4ec443efe8970a80;p=synfig.git Don't render the Blur layer when quality is 10. git-svn-id: http://svn.voria.com/code@1255 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-core/trunk/src/modules/mod_filter/blur.cpp b/synfig-core/trunk/src/modules/mod_filter/blur.cpp index db8b637..72dbc76 100644 --- a/synfig-core/trunk/src/modules/mod_filter/blur.cpp +++ b/synfig-core/trunk/src/modules/mod_filter/blur.cpp @@ -121,6 +121,10 @@ Blur_Layer::get_color(Context context, const Point &pos)const bool Blur_Layer::accelerated_render(Context context,Surface *surface,int quality, const RendDesc &renddesc, ProgressCallback *cb)const { + // don't do anything at quality 10 + if (quality == 10) + return context.accelerated_render(surface,quality,renddesc,cb); + // int x,y; SuperCallback stageone(cb,0,5000,10000); SuperCallback stagetwo(cb,5000,10000,10000);