projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix a bug found by g++ 4.3, and then commented out the fixed method because it's...
[synfig.git]
/
synfig-core
/
trunk
/
src
/
modules
/
mod_filter
/
radialblur.cpp
diff --git
a/synfig-core/trunk/src/modules/mod_filter/radialblur.cpp
b/synfig-core/trunk/src/modules/mod_filter/radialblur.cpp
index
826d34d
..
494f73f
100644
(file)
--- a/
synfig-core/trunk/src/modules/mod_filter/radialblur.cpp
+++ b/
synfig-core/trunk/src/modules/mod_filter/radialblur.cpp
@@
-1,6
+1,6
@@
/* === S Y N F I G ========================================================= */
/*! \file radialblur.cpp
/* === S Y N F I G ========================================================= */
/*! \file radialblur.cpp
-** \brief
Template Head
er
+** \brief
Implementation of the "Radial Blur" lay
er
**
** $Id$
**
**
** $Id$
**
@@
-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
{
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;
if(cb && !cb->amount_complete(0,10000))
return false;