Skip to content

Commit

Permalink
Merge branch 'branch-6-2'
Browse files Browse the repository at this point in the history
  • Loading branch information
tbonfort committed Jul 3, 2012
2 parents 17d862e + dff71ec commit 10b68d8
Show file tree
Hide file tree
Showing 4 changed files with 4,127 additions and 4,105 deletions.
5 changes: 3 additions & 2 deletions mapdraw.c
Expand Up @@ -2359,8 +2359,9 @@ int msDrawOffsettedLabels(imageObj *image, mapObj *map, int priority)
cacheslot = &(labelcache->slots[priority]);
for(l=cacheslot->numlabels-1; l>=0; l--) {
cachePtr = &(cacheslot->labels[l]); /* point to right spot in the label cache */
if(cachePtr->status == MS_FALSE && !cachePtr->labelpath) {
/* only test regular labels that haven't been rendered */
if(cachePtr->status == MS_FALSE && !cachePtr->labelpath && cachePtr->poly) {
/* only test regular labels that have had their bounding box computed
and that haven't been rendered */
classObj *classPtr = (GET_CLASS(map,cachePtr->layerindex,cachePtr->classindex));
layerObj *layerPtr = (GET_LAYER(map,cachePtr->layerindex));
if(classPtr->leader.maxdistance) { /* only test labels that can be offsetted */
Expand Down

0 comments on commit 10b68d8

Please sign in to comment.