mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Rename Polygon.count to Polygon.elementCount and return the proper element count
This commit is contained in:
parent
1a50753914
commit
ffcf5c7885
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue