Revision: 8790 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8790&view=rev Author: mdboom Date: 2010-11-10 17:00:51 +0000 (Wed, 10 Nov 2010)
Log Message: ----------- Fix Agg complexity exception so it is thrown multiple times correctly. Modified Paths: -------------- branches/v1_0_maint/agg24/include/agg_rasterizer_cells_aa.h Modified: branches/v1_0_maint/agg24/include/agg_rasterizer_cells_aa.h =================================================================== --- branches/v1_0_maint/agg24/include/agg_rasterizer_cells_aa.h 2010-11-10 09:37:52 UTC (rev 8789) +++ branches/v1_0_maint/agg24/include/agg_rasterizer_cells_aa.h 2010-11-10 17:00:51 UTC (rev 8790) @@ -184,13 +184,8 @@ if((m_num_cells & cell_block_mask) == 0) { if(m_num_blocks >= cell_block_limit) { - static Py::Exception e( - Py::OverflowError( - "Agg rendering complexity exceeded. Consider downsampling or decimating your data.")); - - /* If this exception is thrown too often, one can - increase cell_block_limit */ - throw e; + throw Py::OverflowError( + "Agg rendering complexity exceeded. Consider downsampling or decimating your data."); } allocate_block(); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ Matplotlib-checkins mailing list Matplotlib-checkins@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins