mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-11 00:37:50 -06:00
Adapting code to merge of simple_convex_hull and code cleanup.
This commit is contained in:
parent
788f79f5ba
commit
41503d7d5b
5 changed files with 65 additions and 50 deletions
|
@ -65,7 +65,6 @@ class LayerDataBuilder(MeshBuilder):
|
|||
( vertex_offset, index_offset ) = data.build( vertex_offset, index_offset, vertices, colors, indices)
|
||||
self._element_counts[layer] = data.elementCount
|
||||
|
||||
self.clear()
|
||||
self.addVertices(vertices)
|
||||
self.addColors(colors)
|
||||
self.addIndices(indices.flatten())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue