Permalink
Browse files

Make label expressions consistent with class expressions by allowing …

…them to work off an item (labelitem).
  • Loading branch information...
1 parent 1d8b68a commit 92a1cac6f2362bae44985ffe0ada77822fa0eb5e Steve Lime committed Nov 3, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 maputil.c
View
@@ -695,7 +695,7 @@ int msShapeGetAnnotation(layerObj *layer, shapeObj *shape)
continue; /* next label */
}
}
- if(msEvalExpression(layer, shape, &(lbl->expression), -1) != MS_TRUE) {
+ if(msEvalExpression(layer, shape, &(lbl->expression), layer->labelitemindex) != MS_TRUE) {
lbl->status = MS_OFF;
continue; /* next label */
}

0 comments on commit 92a1cac

Please sign in to comment.