[mapserver-commits] r9000 - branches/branch-5-4/mapserver
svn at osgeo.org
svn at osgeo.org
Sat May 2 09:49:08 EDT 2009
Author: sdlime
Date: 2009-05-02 09:49:08 -0400 (Sat, 02 May 2009)
New Revision: 9000
Modified:
branches/branch-5-4/mapserver/mapquery.c
Log:
Fixed goofy error related to setting default tolerances... (#2998)
Modified: branches/branch-5-4/mapserver/mapquery.c
===================================================================
--- branches/branch-5-4/mapserver/mapquery.c 2009-05-02 13:46:53 UTC (rev 8999)
+++ branches/branch-5-4/mapserver/mapquery.c 2009-05-02 13:49:08 UTC (rev 9000)
@@ -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