mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-13 01:37:51 -06:00
if value is a string make it lowercase
CURA-11048
This commit is contained in:
parent
b980b6b7a0
commit
5b6fea9734
1 changed files with 3 additions and 0 deletions
|
@ -90,6 +90,9 @@ class CuraFormulaFunctions:
|
|||
if isinstance(value, SettingFunction):
|
||||
value = value(extruder, context = context)
|
||||
|
||||
if isinstance(value, str):
|
||||
value = value.lower()
|
||||
|
||||
result.append(value)
|
||||
|
||||
if not result:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue