[mapserver-commits] r8999 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Sat May 2 09:46:53 EDT 2009
Author: sdlime
Date: 2009-05-02 09:46:53 -0400 (Sat, 02 May 2009)
New Revision: 8999
Modified:
trunk/mapserver/mapquery.c
Log:
Fixed goofy error related to setting default tolerances... (#2998)
Modified: trunk/mapserver/mapquery.c
===================================================================
--- trunk/mapserver/mapquery.c 2009-05-02 11:06:40 UTC (rev 8998)
+++ trunk/mapserver/mapquery.c 2009-05-02 13:46:53 UTC (rev 8999)
@@ -686,7 +686,7 @@
/* Get the layer tolerance
default is 3 for point and line layers, 0 for others */
if(lp->tolerance == -1) {
- if(lp->status == MS_LAYER_POINT || lp->status == MS_LAYER_LINE)
+ if(lp->type == MS_LAYER_POINT || lp->type == MS_LAYER_LINE)
layer_tolerance = 3;
else
layer_tolerance = 0;
@@ -971,7 +971,7 @@
/* Get the layer tolerance
default is 3 for point and line layers, 0 for others */
if(lp->tolerance == -1)
- if(lp->status == MS_LAYER_POINT || lp->status == MS_LAYER_LINE)
+ if(lp->type == MS_LAYER_POINT || lp->type == MS_LAYER_LINE)
layer_tolerance = 3;
else
layer_tolerance = 0;
@@ -1159,7 +1159,7 @@
/* Get the layer tolerance
default is 3 for point and line layers, 0 for others */
if(lp->tolerance == -1)
- if(lp->status == MS_LAYER_POINT || lp->status == MS_LAYER_LINE)
+ if(lp->type == MS_LAYER_POINT || lp->type == MS_LAYER_LINE)
layer_tolerance = 3;
else
layer_tolerance = 0;
More information about the mapserver-commits
mailing list