Commit 2bc2cf1f authored by Guillaume Seguin's avatar Guillaume Seguin

Minor cleanup (use tuples instead of lists for 3D positions)

parent 511a65d4
......@@ -89,7 +89,7 @@ class GcodePlater(Plater):
"object won't be correctly rotated")
o = model.offsets
co = model.centeroffset
offset_pos = last_real_position if last_real_position is not None else [0, 0, 0]
offset_pos = last_real_position if last_real_position is not None else (0, 0, 0)
trans = (- (o[0] + co[0]),
- (o[1] + co[1]),
- (o[2] + co[2]))
......
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