Skip to content

Commit

Permalink
Merge pull request #967 from Ultimaker/CURA-12093_conditional-start-e…
Browse files Browse the repository at this point in the history
…nd-gcode

Minor optimization
  • Loading branch information
HellAholic authored Sep 16, 2024
2 parents cac54cc + e44ccd0 commit 8621a3f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions UM/Settings/SettingFunction.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@ def __call__(self, value_provider: ContainerInterface, context: Optional[Propert
local_variables[name] = value

if additional_variables is not None:
for name, value in additional_variables.items():
local_variables[name] = value
local_variables |= additional_variables

globals_variables: Dict[str, Any] = {}
globals_variables.update(globals())
Expand Down

0 comments on commit 8621a3f

Please sign in to comment.