Commit 3e9a5d2e authored by Guillaume Seguin's avatar Guillaume Seguin

Correctly copy "dims" attribute for GcodeModel actors

parent d1e48930
......@@ -295,7 +295,7 @@ class GcodeModel(Model):
def copy(self):
copy = GcodeModel()
for var in ["vertices", "colors", "max_layers", "num_layers_to_draw", "printed_until", "layer_stops"]:
for var in ["vertices", "colors", "max_layers", "num_layers_to_draw", "printed_until", "layer_stops", "dims"]:
setattr(copy, var, getattr(self, var))
copy.loaded = True
copy.initialized = False
......
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