Permalink
Browse files

Don't clear the original feature attributes for the clustered shapes (#…

  • Loading branch information...
szekerest committed Jan 2, 2014
1 parent bb574ee commit 898ab8b944a6340b5a8742fe12d3aee6ca236e88
Showing with 0 additions and 5 deletions.
  1. +0 −5 mapcluster.c
View
@@ -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("");
}
}
}

0 comments on commit 898ab8b

Please sign in to comment.