Revision: 6032
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6032&view=rev
Author: mdboom
Date: 2008-08-13 16:20:18 +0000 (Wed, 13 Aug 2008)
Log Message:
-----------
Minor fix to conversion of should_simplify.
Modified Paths:
--------------
trunk/matplotlib/src/agg_py_path_iterator.h
Modified: trunk/matplotlib/src/agg_py_path_iterator.h
===================================================================
--- trunk/matplotlib/src/agg_py_path_iterator.h 2008-08-13 15:00:05 UTC (rev
6031)
+++ trunk/matplotlib/src/agg_py_path_iterator.h 2008-08-13 16:20:18 UTC (rev
6032)
@@ -40,7 +40,7 @@
throw Py::ValueError("Invalid codes array.");
}
- m_should_simplify = bool(Py::Int(should_simplify_obj));
+ m_should_simplify = should_simplify_obj.isTrue();
m_total_vertices = m_vertices->dimensions[0];
}
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=/
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins