mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Fix displaying layers with python3.6
This commit is contained in:
parent
1c1f21289c
commit
de62a3c0fe
2 changed files with 4 additions and 4 deletions
|
|
@ -69,7 +69,7 @@ class LayerDataBuilder(MeshBuilder):
|
|||
|
||||
vertex_offset = 0
|
||||
index_offset = 0
|
||||
for layer, data in self._layers.items():
|
||||
for layer, data in sorted(self._layers.items()):
|
||||
( vertex_offset, index_offset ) = data.build( vertex_offset, index_offset, vertices, colors, line_dimensions, extruders, line_types, indices)
|
||||
self._element_counts[layer] = data.elementCount
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue