diff options
author | ChrisTerBeke <c.terbeke@ultimaker.com> | 2019-11-07 12:31:37 +0300 |
---|---|---|
committer | ChrisTerBeke <c.terbeke@ultimaker.com> | 2019-11-07 12:31:37 +0300 |
commit | 7dc38cd55d912487280810a6008ada6c8dc2e86a (patch) | |
tree | f47db6a27a8bc7eb5af7181a72e36746fb6bf4cd /plugins/CuraEngineBackend/StartSliceJob.py | |
parent | b1316b8a053906949a444ca8c7c685324ef711fa (diff) | |
parent | da92c36afbd4af1e56b421adbaf562acd0e3ec31 (diff) |
Merge branch '4.4' into CS-476_improve_packages_api_speed
Diffstat (limited to 'plugins/CuraEngineBackend/StartSliceJob.py')
-rw-r--r-- | plugins/CuraEngineBackend/StartSliceJob.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CuraEngineBackend/StartSliceJob.py b/plugins/CuraEngineBackend/StartSliceJob.py index 29a6d8ff30..43d54d8b12 100644 --- a/plugins/CuraEngineBackend/StartSliceJob.py +++ b/plugins/CuraEngineBackend/StartSliceJob.py @@ -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. import numpy @@ -72,7 +72,7 @@ class GcodeStartEndFormatter(Formatter): value = default_value_str # "-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"]: - value = kwargs["-1"] + value = kwargs["-1"][key] if str(extruder_nr) in kwargs and key in kwargs[str(extruder_nr)]: value = kwargs[str(extruder_nr)][key] |