mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 04:19:03 +08:00
Fix thumbnail format
Width and height should have an "x" instead of space in between.
This commit is contained in:
parent
5330e53ae6
commit
1d45a273d6
@ -37,7 +37,7 @@ class CreateThumbnail(Script):
|
|||||||
|
|
||||||
encoded_snapshot_length = len(encoded_snapshot)
|
encoded_snapshot_length = len(encoded_snapshot)
|
||||||
gcode.append(";")
|
gcode.append(";")
|
||||||
gcode.append("; thumbnail begin {} {} {}".format(
|
gcode.append("; thumbnail begin {}x{} {}".format(
|
||||||
width, height, encoded_snapshot_length))
|
width, height, encoded_snapshot_length))
|
||||||
|
|
||||||
chunks = ["; {}".format(encoded_snapshot[i:i+chunk_size])
|
chunks = ["; {}".format(encoded_snapshot[i:i+chunk_size])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user