mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Set write flag for thumbnail
CURA-10561
This commit is contained in:
parent
f8bb30b025
commit
0c8496b7ab
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue