mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-04 11:14:21 +08:00
Fix ternary operator in import of support_enable
The ternary operator of Python is different. Contributes to issue CURA-37.
This commit is contained in:
parent
5358b700ca
commit
bfa332e227
@ -39,7 +39,7 @@
|
||||
"cool_min_speed": "cool_min_feedrate",
|
||||
"cool_lift_head": "cool_head_lift",
|
||||
"support_enable": "False if (support == \"None\") else True",
|
||||
"support_type": "support == \"Touching buildplate\" ? \"buildplate\" : \"everywhere\"",
|
||||
"support_type": "\"buildplate\" if (support == \"Touching buildplate\") else \"everywhere\"",
|
||||
"support_angle": "support_angle",
|
||||
"support_xy_distance": "support_xy_distance",
|
||||
"support_z_distance": "support_z_distance",
|
||||
|
Loading…
x
Reference in New Issue
Block a user