mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 00:55:51 +08:00
if value is a string make it lowercase
CURA-11048
This commit is contained in:
parent
b980b6b7a0
commit
5b6fea9734
@ -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…
x
Reference in New Issue
Block a user