Commit 084321bd authored by Guillaume Seguin's avatar Guillaume Seguin

Fix copy() operator of GcodeModel (normals were not copied)

parent 530e8d20
...@@ -494,7 +494,7 @@ class GcodeModel(Model): ...@@ -494,7 +494,7 @@ class GcodeModel(Model):
def copy(self): def copy(self):
copy = GcodeModel() copy = GcodeModel()
for var in ["vertices", "colors", "travels", "indices", for var in ["vertices", "colors", "travels", "indices", "normals",
"max_layers", "num_layers_to_draw", "printed_until", "max_layers", "num_layers_to_draw", "printed_until",
"layer_stops", "dims", "only_current", "layer_stops", "dims", "only_current",
"layer_idxs_map", "layer_idxs_map",
......
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