Skip to content

Commit

Permalink
Don't clear the original feature attributes for the clustered shapes (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
szekerest committed Jan 2, 2014
1 parent bb574ee commit 898ab8b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions mapcluster.c
Original file line number Diff line number Diff line change
Expand Up @@ -558,11 +558,6 @@ static void UpdateShapeAttributes(layerObj* layer, clusterInfo* base, clusterInf
int count = atoi(base->shape.values[i]) + 1;
msFree(base->shape.values[i]);
base->shape.values[i] = msIntToString(count);
} else if (!EQUAL(base->shape.values[i], current->shape.values[i])
&& !EQUAL(base->shape.values[i], "")) {
/* clear the value if that doesn't match */
msFree(base->shape.values[i]);
base->shape.values[i] = msStrdup("");
}
}
}
Expand Down

0 comments on commit 898ab8b

Please sign in to comment.