mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-13 02:03:13 +08:00
parent
eaedca1917
commit
36d4162f35
@ -1,4 +1,4 @@
|
|||||||
# Copyright (c) 2018 Ultimaker B.V.
|
# Copyright (c) 2019 Ultimaker B.V.
|
||||||
# Cura is released under the terms of the LGPLv3 or higher.
|
# Cura is released under the terms of the LGPLv3 or higher.
|
||||||
|
|
||||||
import numpy
|
import numpy
|
||||||
@ -72,7 +72,7 @@ class GcodeStartEndFormatter(Formatter):
|
|||||||
value = default_value_str
|
value = default_value_str
|
||||||
# "-1" is global stack, and if the setting value exists in the global stack, use it as the fallback value.
|
# "-1" is global stack, and if the setting value exists in the global stack, use it as the fallback value.
|
||||||
if key in kwargs["-1"]:
|
if key in kwargs["-1"]:
|
||||||
value = kwargs["-1"]
|
value = kwargs["-1"][key]
|
||||||
if str(extruder_nr) in kwargs and key in kwargs[str(extruder_nr)]:
|
if str(extruder_nr) in kwargs and key in kwargs[str(extruder_nr)]:
|
||||||
value = kwargs[str(extruder_nr)][key]
|
value = kwargs[str(extruder_nr)][key]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user