mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 23:17:32 -06:00
parent
9c873c7d34
commit
a0a0f3ea01
1 changed files with 5 additions and 3 deletions
|
@ -92,9 +92,11 @@ class LayerView(View):
|
||||||
layer = self._current_layer_num - i
|
layer = self._current_layer_num - i
|
||||||
if layer < 0:
|
if layer < 0:
|
||||||
continue
|
continue
|
||||||
|
try:
|
||||||
layer_mesh = layer_data.getLayer(layer).createMesh()
|
layer_mesh = layer_data.getLayer(layer).createMesh()
|
||||||
if not layer_mesh or layer_mesh.getVertices() is None:
|
if not layer_mesh or layer_mesh.getVertices() is None:
|
||||||
|
continue
|
||||||
|
except:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
self._current_layer_mesh.addVertices(layer_mesh.getVertices())
|
self._current_layer_mesh.addVertices(layer_mesh.getVertices())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue