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:
authorGhostkeeper <rubend@tutanota.com>2018-01-31 10:43:40 +0300
committerGhostkeeper <rubend@tutanota.com>2018-01-31 10:43:40 +0300
commitebe221f604b9314a93ef029a379d04c620b4722b (patch)
treea3b9b75469a81ed4b0fec090ee6131cb31387013 /plugins/UFPWriter
parenta9048a587d272fe3b3c5e47d15e83c04458fe23b (diff)
Add origin to thumbnail relation
This thumbnail is now about the g-code, so let the relation say that. Contributes to issue CURA-4872.
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 4089a1ae3a..ff4662ae3c 100644
--- a/plugins/UFPWriter/UFPWriter.py
+++ b/plugins/UFPWriter/UFPWriter.py
@@ -12,7 +12,7 @@ from UM.PluginRegistry import PluginRegistry #To get the g-code writer.
class UFPWriter(MeshWriter):
def write(self, stream, nodes, mode = MeshWriter.OutputMode.BinaryMode):
archive = VirtualFile()
- archive.open_stream(stream, "application/x-ufp", OpenMode.WriteOnly)
+ archive.openStream(stream, "application/x-ufp", OpenMode.WriteOnly)
#Store the g-code from the scene.
archive.addContentType(extension = "gcode", mime_type = "text/x-gcode")