From: dooglus Date: Tue, 1 Jan 2008 14:51:53 +0000 (+0000) Subject: Don't render the Radial Blur layer when quality is 10. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=38c96cf43203ac5275225e1177d5e5cd01f07146;p=synfig.git Don't render the Radial Blur layer when quality is 10. git-svn-id: http://svn.voria.com/code@1256 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-core/trunk/src/modules/mod_filter/radialblur.cpp b/synfig-core/trunk/src/modules/mod_filter/radialblur.cpp index 21925db..494f73f 100644 --- a/synfig-core/trunk/src/modules/mod_filter/radialblur.cpp +++ b/synfig-core/trunk/src/modules/mod_filter/radialblur.cpp @@ -130,6 +130,10 @@ RadialBlur::get_color(Context context, const Point &p)const bool RadialBlur::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); + if(cb && !cb->amount_complete(0,10000)) return false;