Permalink
Browse files

Fix labels on mapscript-set postlabelcache layers (#5142)

  • Loading branch information...
tbonfort committed Oct 6, 2015
1 parent e50c067 commit 9523495512cc1e6e73e0901a6b470d4f463cc7ac
Showing with 6 additions and 0 deletions.
  1. +6 −0 mapdraw.c
View
@@ -669,6 +669,12 @@ int msDrawLayer(mapObj *map, layerObj *layer, imageObj *image)
layer->project true to recheck projection needs (Bug #673) */
layer->project = MS_TRUE;
/* make sure labelcache setting is set correctly if postlabelcache is set. This is done by the parser but
may have been altered by a mapscript. see #5142 */
if(layer->postlabelcache) {
layer->labelcache = MS_FALSE;
}
if(layer->mask) {
int maskLayerIdx;
/* render the mask layer in its own imageObj */

0 comments on commit 9523495

Please sign in to comment.