Don't render the Radial Blur layer when quality is 10.
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Tue, 1 Jan 2008 14:51:53 +0000 (14:51 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Tue, 1 Jan 2008 14:51:53 +0000 (14:51 +0000)
git-svn-id: http://svn.voria.com/code@1256 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-core/trunk/src/modules/mod_filter/radialblur.cpp

index 21925db..494f73f 100644 (file)
@@ -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;