mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-07-19 23:34:28 +08:00
Added break from loop
This commit is contained in:
parent
cfed67076e
commit
4f8c4be34e
@ -101,6 +101,7 @@ class CreateThumbnail(Script):
|
||||
line_index = lines.index(line)
|
||||
insert_index = line_index + 1
|
||||
lines[insert_index:insert_index] = snapshot_gcode
|
||||
break
|
||||
|
||||
final_lines = "\n".join(lines)
|
||||
data[layer_index] = final_lines
|
||||
|
Loading…
x
Reference in New Issue
Block a user