Commit d73b1100 authored by Guillaume Seguin's avatar Guillaume Seguin

Specify duration of append layer

parent d981e9c8
...@@ -636,6 +636,7 @@ class GCode(object): ...@@ -636,6 +636,7 @@ class GCode(object):
self.append_layer_id = len(all_layers) self.append_layer_id = len(all_layers)
self.append_layer = Layer([]) self.append_layer = Layer([])
self.append_layer.duration = 0
all_layers.append(self.append_layer) all_layers.append(self.append_layer)
self.layer_idxs = array('I', layer_idxs) self.layer_idxs = array('I', layer_idxs)
self.line_idxs = array('I', line_idxs) self.line_idxs = array('I', line_idxs)
......
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