mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 07:19:05 +08:00
Fix specific extruder not being used
CURA-11536
This commit is contained in:
parent
9d78c9ed58
commit
54df08f47f
@ -106,7 +106,7 @@ class GcodeStartEndFormatter(Formatter):
|
||||
# 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
|
||||
# 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:
|
||||
additional_variables = self._all_extruder_settings[extruder_nr].copy()
|
||||
|
Loading…
x
Reference in New Issue
Block a user