[mapserver-commits] r7856 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Fri Aug 15 03:42:25 EDT 2008
Author: tbonfort
Date: 2008-08-15 03:42:24 -0400 (Fri, 15 Aug 2008)
New Revision: 7856
Modified:
trunk/mapserver/mapagg.cpp
Log:
fix pixmap symbols not drawing if no color was specified (#2736)
Modified: trunk/mapserver/mapagg.cpp
===================================================================
--- trunk/mapserver/mapagg.cpp 2008-08-14 22:33:58 UTC (rev 7855)
+++ trunk/mapserver/mapagg.cpp 2008-08-15 07:42:24 UTC (rev 7856)
@@ -1579,7 +1579,9 @@
} else if(agg_ocolor.a) {
color = &(agg_ocolor);// try the outline color, polygons drawing thick outlines often do this
} else {
- return; // no color, bail out...
+ if(symbol->type != MS_SYMBOL_PIXMAP)
+ //all symbols except pixmap symbols must specify a color
+ return;
}
//transform the shapeobj to something AGG understands
More information about the mapserver-commits
mailing list