mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-21 12:09:13 +08:00
Rename Polygon.count to Polygon.elementCount and return the proper element count
This commit is contained in:
parent
1a50753914
commit
ffcf5c7885
@ -35,7 +35,7 @@ class LayerView(View):
|
||||
|
||||
element_counts = layer_data.getElementCounts()
|
||||
for layer, counts in element_counts.items():
|
||||
end += sum(counts) * 2
|
||||
end += sum(counts)
|
||||
|
||||
if layer >= end_layer:
|
||||
break
|
||||
|
Loading…
x
Reference in New Issue
Block a user