[mapserver-commits] r10905 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Mon Jan 24 15:53:33 EST 2011
Author: tamas
Date: 2011-01-24 12:53:33 -0800 (Mon, 24 Jan 2011)
New Revision: 10905
Modified:
trunk/mapserver/maplabel.c
Log:
Removing duplicated code
Modified: trunk/mapserver/maplabel.c
===================================================================
--- trunk/mapserver/maplabel.c 2011-01-24 20:34:42 UTC (rev 10904)
+++ trunk/mapserver/maplabel.c 2011-01-24 20:53:33 UTC (rev 10905)
@@ -326,13 +326,6 @@
return(MS_SUCCESS);
}
- if(map->scaledenom > 0) {
- if((label->maxscaledenom != -1) && (map->scaledenom >= label->maxscaledenom))
- return(MS_SUCCESS);
- if((label->minscaledenom != -1) && (map->scaledenom < label->minscaledenom))
- return(MS_SUCCESS);
- }
-
/* Validate label priority value and get ref on label cache for it */
if (label->priority < 1)
label->priority = 1;
More information about the mapserver-commits
mailing list