mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 03:06:00 +08:00
Set write flag for thumbnail
CURA-10561
This commit is contained in:
parent
f8bb30b025
commit
0c8496b7ab
@ -92,7 +92,7 @@ class MakerbotWriter(MeshWriter):
|
||||
return
|
||||
|
||||
thumbnail_buffer = QBuffer()
|
||||
thumbnail_buffer.open(QBuffer.OpenModeFlag.ReadWrite)
|
||||
thumbnail_buffer.open(QBuffer.OpenModeFlag.WriteOnly)
|
||||
|
||||
snapshot.save(thumbnail_buffer, "PNG")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user