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:
authorLipu Fei <lipu.fei815@gmail.com>2019-08-27 14:38:42 +0300
committerLipu Fei <lipu.fei815@gmail.com>2019-08-27 15:42:31 +0300
commit946b2b943e53e6fb5027f1b1c78bbb8c3ab08692 (patch)
treeca05d54cf4cfb1934d34bfbdfcc2d7efd48d8927 /plugins/GCodeGzReader
parent867a881de91deb017fb05518113ed975c0246397 (diff)
F5 reloads gcode file
CURA-6643
Diffstat (limited to 'plugins/GCodeGzReader')
-rw-r--r--plugins/GCodeGzReader/GCodeGzReader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/GCodeGzReader/GCodeGzReader.py b/plugins/GCodeGzReader/GCodeGzReader.py
index d075e4e3b0..a528b494e9 100644
--- a/plugins/GCodeGzReader/GCodeGzReader.py
+++ b/plugins/GCodeGzReader/GCodeGzReader.py
@@ -27,6 +27,6 @@ class GCodeGzReader(MeshReader):
file_data = file.read()
uncompressed_gcode = gzip.decompress(file_data).decode("utf-8")
PluginRegistry.getInstance().getPluginObject("GCodeReader").preReadFromStream(uncompressed_gcode)
- result = PluginRegistry.getInstance().getPluginObject("GCodeReader").readFromStream(uncompressed_gcode)
+ result = PluginRegistry.getInstance().getPluginObject("GCodeReader").readFromStream(uncompressed_gcode, file_name)
return result