mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 21:45:59 +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):
|
if isinstance(value, SettingFunction):
|
||||||
value = value(extruder, context = context)
|
value = value(extruder, context = context)
|
||||||
|
|
||||||
|
if isinstance(value, str):
|
||||||
|
value = value.lower()
|
||||||
|
|
||||||
result.append(value)
|
result.append(value)
|
||||||
|
|
||||||
if not result:
|
if not result:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user