|
From: <md...@us...> - 2008-08-13 16:20:22
|
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.
|