Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Ha <jackha@gmail.com>2018-02-05 16:36:42 +0300
committerJack Ha <jackha@gmail.com>2018-02-05 16:36:42 +0300
commit0e7edc3eaf5ccf52f21c2ea0229b529f8ed344e5 (patch)
treed5a77100f37346cb87dce169ea14a52ba1996015 /plugins/UFPWriter
parenta3ed385259c03f1a950c85cd5f9f8e6e72fae27f (diff)
CURA-4425 the thumbnail now crops correctly
Diffstat (limited to 'plugins/UFPWriter')
-rw-r--r--plugins/UFPWriter/UFPWriter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/UFPWriter/UFPWriter.py b/plugins/UFPWriter/UFPWriter.py
index 0f49a30403..aca293e25a 100644
--- a/plugins/UFPWriter/UFPWriter.py
+++ b/plugins/UFPWriter/UFPWriter.py
@@ -23,7 +23,7 @@ class UFPWriter(MeshWriter):
def _createSnapshot(self, *args):
# must be called from the main thread because of OpenGL
Logger.log("d", "Creating thumbnail image...")
- self._snapshot = Snapshot.snapshot()
+ self._snapshot = Snapshot.snapshot(width = 300, height = 300)
def write(self, stream, nodes, mode = MeshWriter.OutputMode.BinaryMode):
archive = VirtualFile()