mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue