X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Fmod_filter%2Fblur.cpp;h=e5104b01e98222e7458dfe225cc3b6ebefd8c63d;hb=9459638ad6797b8139f1e9f0715c96076dbf0890;hp=db8b637c61a2e13bb219bc52c11cd80f2be5ac8e;hpb=e3f4437fedbdd74aebbf1675723978853dac8a8b;p=synfig.git diff --git a/synfig-core/trunk/src/modules/mod_filter/blur.cpp b/synfig-core/trunk/src/modules/mod_filter/blur.cpp index db8b637..e5104b0 100644 --- a/synfig-core/trunk/src/modules/mod_filter/blur.cpp +++ b/synfig-core/trunk/src/modules/mod_filter/blur.cpp @@ -6,6 +6,7 @@ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley +** Copyright (c) 2008 Chris Moore ** ** This package is free software; you can redistribute it and/or ** modify it under the terms of the GNU General Public License as @@ -121,6 +122,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);