mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 01:07:52 -06:00
putting the code in right location
checked: this code only checks for support type and adhesion type and make them lowercase CURA-11048
This commit is contained in:
parent
5b6fea9734
commit
215a893c39
1 changed files with 3 additions and 3 deletions
|
@ -56,6 +56,9 @@ class CuraFormulaFunctions:
|
||||||
if isinstance(value, SettingFunction):
|
if isinstance(value, SettingFunction):
|
||||||
value = value(extruder_stack, context = context)
|
value = value(extruder_stack, context = context)
|
||||||
|
|
||||||
|
if isinstance(value, str):
|
||||||
|
value = value.lower()
|
||||||
|
|
||||||
return value
|
return value
|
||||||
|
|
||||||
def _getActiveExtruders(self, context: Optional["PropertyEvaluationContext"] = None) -> List[str]:
|
def _getActiveExtruders(self, context: Optional["PropertyEvaluationContext"] = None) -> List[str]:
|
||||||
|
@ -90,9 +93,6 @@ 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…
Add table
Add a link
Reference in a new issue