[mapguide-commits] r9193 - sandbox/jng/utfgrid/Common/Renderers
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Tue May 30 09:28:30 PDT 2017
Author: jng
Date: 2017-05-30 09:28:30 -0700 (Tue, 30 May 2017)
New Revision: 9193
Modified:
sandbox/jng/utfgrid/Common/Renderers/UTFGridRenderer.cpp
Log:
Remove the current color rewinding from UTFGridRenderer::StartFeature as UTFGridContent will already sequentially re-map rendered "pixels" from the AGG backend.
Modified: sandbox/jng/utfgrid/Common/Renderers/UTFGridRenderer.cpp
===================================================================
--- sandbox/jng/utfgrid/Common/Renderers/UTFGridRenderer.cpp 2017-05-30 16:24:16 UTC (rev 9192)
+++ sandbox/jng/utfgrid/Common/Renderers/UTFGridRenderer.cpp 2017-05-30 16:28:30 UTC (rev 9193)
@@ -170,8 +170,6 @@
{
m_currentColor++;
m_renderThisFeature = m_content->AddFeature(m_layerInfo, m_currentColor, feature, tooltip, url);
- if (!m_renderThisFeature)
- m_currentColor--; //Rewind, as we have a limited budget for available pixel values and want to maximize the use of each value available to us
}
void UTFGridRenderer::ProcessPolygon(LineBuffer * lb, RS_FillStyle & fill)
More information about the mapguide-commits
mailing list