mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Do not trigger slicing if there's no slicable object
CURA-6604
This commit is contained in:
parent
09dc209956
commit
0524796145
2 changed files with 13 additions and 5 deletions
|
@ -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"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue