Commit fb0530ea authored by Guillaume Seguin's avatar Guillaume Seguin

Same approach, same issues

parent 4dac58bd
......@@ -644,10 +644,10 @@ class GcodeModelLight(Model):
color_list.extend(vertex_color + vertex_color)
prev_pos = current_pos
gline.gcview_end_vertex = len(vertex_list)
gline.gcview_end_vertex = len(vertex_list) / 3
if has_movement:
self.layer_stops.append(len(vertex_list))
self.layer_stops.append(len(vertex_list) / 3)
if callback:
callback(layer_idx + 1, num_layers)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment