Revision: 2062
http://synfig.svn.sourceforge.net/synfig/?rev=2062&view=rev
Author: dooglus
Date: 2008-09-20 15:02:11 +0000 (Sat, 20 Sep 2008)
Log Message:
-----------
Fix 2120629: "circles with large feather and zero radius are invisible". Only
shortcut zero-radius circles if they're not inverted and have no feathering.
Modified Paths:
--------------
synfig-core/trunk/src/modules/mod_geometry/circle.cpp
Modified: synfig-core/trunk/src/modules/mod_geometry/circle.cpp
===================================================================
--- synfig-core/trunk/src/modules/mod_geometry/circle.cpp 2008-09-20
10:47:57 UTC (rev 2061)
+++ synfig-core/trunk/src/modules/mod_geometry/circle.cpp 2008-09-20
15:02:11 UTC (rev 2062)
@@ -306,7 +306,7 @@
Color
Circle::get_color(Context context, const Point &point)const
{
- if(radius==0 || is_disabled())
+ if(is_disabled() || (radius==0 && invert==false && !feather))
return context.get_color(point);
@@ -415,7 +415,7 @@
Circle::accelerated_render(Context context,Surface *surface,int quality, const
RendDesc &renddesc, ProgressCallback *cb)const
{
// trivial case
- if(is_disabled() || (radius==0 && invert==false))
+ if(is_disabled() || (radius==0 && invert==false && !feather))
return context.accelerated_render(surface,quality, renddesc,
cb);
// Another trivial case
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl