Commit 40a15df6 authored by Guillaume Seguin's avatar Guillaume Seguin

Missing line ^^

parent a1163dc2
......@@ -412,7 +412,7 @@ class GcodeModel(Model):
ntravelcoords = travel_coords_count(nlines)
ncoords = coords_count(nlines)
nindices = indices_count(nlines)
if nlines * 12 != vertices.size:
if ncoords != vertices.size:
self.travels.resize(ntravelcoords, refcheck = False)
self.vertices.resize(ncoords, refcheck = False)
self.colors.resize(ncoords, refcheck = 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