[mapserver-commits] r13142 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Mon Feb 13 12:33:11 EST 2012


Author: tbonfort
Date: 2012-02-13 09:33:11 -0800 (Mon, 13 Feb 2012)
New Revision: 13142

Modified:
   trunk/mapserver/mapdraw.c
Log:
rfc77: don't draw styles of inactive labels


Modified: trunk/mapserver/mapdraw.c
===================================================================
--- trunk/mapserver/mapdraw.c	2012-02-13 13:07:23 UTC (rev 13141)
+++ trunk/mapserver/mapdraw.c	2012-02-13 17:33:11 UTC (rev 13142)
@@ -2657,6 +2657,7 @@
 
             for(ll=0; ll<cachePtr->numlabels; ll++) {
               labelPtr = &(cachePtr->labels[ll]);
+              if(labelPtr->status != MS_ON) continue; /* skip labels who failed expression test */
 
               /* here's where we draw the label styles */
               if(labelPtr->numstyles > 0) {



More information about the mapserver-commits mailing list