Skip to content

Commit

Permalink
Fix cluster with WMS dimension issue (#5364)
Browse files Browse the repository at this point in the history
  • Loading branch information
szekerest committed Jan 4, 2017
1 parent 722716c commit 1a65c62
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion mapcluster.c
Expand Up @@ -1440,7 +1440,12 @@ int msClusterLayerOpen(layerObj *layer)
return MS_FAILURE;

if (layer->layerinfo)
return MS_SUCCESS; /* already open */
{
if (layer->vtable->LayerOpen != msClusterLayerOpen)
msLayerClose(layer);
else
return MS_SUCCESS; /* already open */
}

layerinfo = msClusterInitialize(layer);

Expand Down

0 comments on commit 1a65c62

Please sign in to comment.