Skip to content

Commit

Permalink
Ignore the return status from filter translation. Let MapServer handl…
Browse files Browse the repository at this point in the history
…e cases where translation fails.
  • Loading branch information
sdlime committed Feb 11, 2015
1 parent 6b8843c commit 2e3fce1
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions mapdraw.c
Expand Up @@ -886,10 +886,11 @@ int msDrawVectorLayer(mapObj *map, layerObj *layer, imageObj *image)
if(!msLayerSupportsCommonFilters(layer))
status = msLayerTranslateFilter(layer, &layer->filter, layer->filteritem);

if(status != MS_SUCCESS) {
msLayerClose(layer);
return MS_FAILURE;
}
/* we ignore the translation status here - MapServer will fall back to its own expression evaluation */
// if(status != MS_SUCCESS) {
// msLayerClose(layer);
// return MS_FAILURE;
// }

/* identify target shapes */
if(layer->transform == MS_TRUE) {
Expand Down

0 comments on commit 2e3fce1

Please sign in to comment.