mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 07:27:29 -06:00
Fix specific extruder not being used
CURA-11536
This commit is contained in:
parent
9d78c9ed58
commit
54df08f47f
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ class GcodeStartEndFormatter(Formatter):
|
||||||
# dict-representation of the global container stack, with additional properties such
|
# dict-representation of the global container stack, with additional properties such
|
||||||
# as `initial_extruder_nr`. As users may enter such expressions we can't use the
|
# as `initial_extruder_nr`. As users may enter such expressions we can't use the
|
||||||
# global container stack.
|
# global container stack.
|
||||||
extruder_nr = self._all_extruder_settings["-1"].get(extruder_nr_expr, "-1")
|
extruder_nr = str(self._all_extruder_settings["-1"].get(extruder_nr_expr, "-1"))
|
||||||
|
|
||||||
if extruder_nr in self._all_extruder_settings:
|
if extruder_nr in self._all_extruder_settings:
|
||||||
additional_variables = self._all_extruder_settings[extruder_nr].copy()
|
additional_variables = self._all_extruder_settings[extruder_nr].copy()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue