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-09-03 21:01:10 +0300
committerLipu Fei <lipu.fei815@gmail.com>2019-09-03 21:01:41 +0300
commit05247961459191ed28655a457e0e11f57f97733d (patch)
tree8e028393764e88d2621f519d7136fa3915ffb7c4 /plugins/GCodeReader
parent09dc2099569b65a82774a503b072ca812956acb1 (diff)
Do not trigger slicing if there's no slicable object
CURA-6604
Diffstat (limited to 'plugins/GCodeReader')
-rw-r--r--plugins/GCodeReader/FlavorParser.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/plugins/GCodeReader/FlavorParser.py b/plugins/GCodeReader/FlavorParser.py
index ec0f5d3ea3..89812e7202 100644
--- a/plugins/GCodeReader/FlavorParser.py
+++ b/plugins/GCodeReader/FlavorParser.py
@@ -476,11 +476,6 @@ class FlavorParser:
machine_depth = global_stack.getProperty("machine_depth", "value")
scene_node.setPosition(Vector(-machine_width / 2, 0, machine_depth / 2))
- # Make sure that all seen extruders (if exist in the currently active machine) are enabled.
- for extruder_nr in self._extruders_seen:
- if str(extruder_nr) in global_stack.extruders:
- CuraApplication.getInstance().getMachineManager().setExtruderEnabled(extruder_nr, True)
-
Logger.log("d", "GCode loading finished")
if CuraApplication.getInstance().getPreferences().getValue("gcodereader/show_caution"):