From: <md...@us...> - 2007-12-20 13:01:11
|
Revision: 4778 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4778&view=rev Author: mdboom Date: 2007-12-20 05:01:07 -0800 (Thu, 20 Dec 2007) Log Message: ----------- Minor efficiency improvement. Modified Paths: -------------- branches/transforms/src/_backend_agg.cpp Modified: branches/transforms/src/_backend_agg.cpp =================================================================== --- branches/transforms/src/_backend_agg.cpp 2007-12-20 13:00:48 UTC (rev 4777) +++ branches/transforms/src/_backend_agg.cpp 2007-12-20 13:01:07 UTC (rev 4778) @@ -363,6 +363,9 @@ double x0, y0, x1, y1; unsigned code; + if (path.total_vertices() > 15) + return false; + code = path.vertex(&x0, &y0); trans.transform(&x0, &y0); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |