From 5b6fea973487b344fb4ebfeb7008699f0906f463 Mon Sep 17 00:00:00 2001 From: "saumya.jain" Date: Wed, 4 Oct 2023 11:05:33 +0200 Subject: [PATCH] if value is a string make it lowercase CURA-11048 --- cura/Settings/CuraFormulaFunctions.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cura/Settings/CuraFormulaFunctions.py b/cura/Settings/CuraFormulaFunctions.py index d7b6228e090..5ef32d77da2 100644 --- a/cura/Settings/CuraFormulaFunctions.py +++ b/cura/Settings/CuraFormulaFunctions.py @@ -90,6 +90,9 @@ def getValuesInAllExtruders(self, property_key: str, if isinstance(value, SettingFunction): value = value(extruder, context = context) + if isinstance(value, str): + value = value.lower() + result.append(value) if not result: