[mapserver-commits] r8649 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Fri Mar 6 17:35:33 EST 2009
Author: tbonfort
Date: 2009-03-06 17:35:33 -0500 (Fri, 06 Mar 2009)
New Revision: 8649
Modified:
trunk/mapserver/mapgd.c
Log:
only skip small symbol line drawing if a symbol was specified
Modified: trunk/mapserver/mapgd.c
===================================================================
--- trunk/mapserver/mapgd.c 2009-03-06 18:02:18 UTC (rev 8648)
+++ trunk/mapserver/mapgd.c 2009-03-06 22:35:33 UTC (rev 8649)
@@ -1825,7 +1825,7 @@
if(style->symbol >= symbolset->numsymbols || style->symbol < 0) return; /* no such symbol, 0 is OK */
if(fc < 0 && symbol->type != MS_SYMBOL_PIXMAP) return; /* nothing to do (color not required for a pixmap symbol) */
- if(size < 1) return; /* size too small */
+ if(style->symbol!=0 && size < 1) return; /* size too small */
ox = MS_NINT(style->offsetx*scalefactor);
oy = (style->offsety < -90) ? style->offsety : (int)(style->offsety*scalefactor);
More information about the mapserver-commits
mailing list