Rename Polygon.count to Polygon.elementCount and return the proper element count

This commit is contained in:
Arjen Hiemstra 2015-04-28 11:50:54 +02:00
parent 1a50753914
commit ffcf5c7885

View File

@ -35,7 +35,7 @@ class LayerView(View):
element_counts = layer_data.getElementCounts() element_counts = layer_data.getElementCounts()
for layer, counts in element_counts.items(): for layer, counts in element_counts.items():
end += sum(counts) * 2 end += sum(counts)
if layer >= end_layer: if layer >= end_layer:
break break