Browse Source

Add brackets for increased readability.

I had to try out what this actually did, fortunately, the result was the same as the without brackets version in all cases, otherwise we'd have a pretty weird problem.

relates to PP-168 and in 5.0 becasue of CURA-9293
Remco Burema 2 years ago
parent
commit
2f357cc6e5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      resources/definitions/ultimaker2_plus_connect.def.json

+ 1 - 1
resources/definitions/ultimaker2_plus_connect.def.json

@@ -81,7 +81,7 @@
         "material_bed_temperature_layer_0": { "maximum_value": 110 },
         "material_print_temperature": { "maximum_value": 260 },
         "meshfix_maximum_resolution": { "value": "(speed_wall_0 + speed_wall_x) / 60" },
-        "meshfix_maximum_deviation": { "value": "layer_height / 3 if magic_spiralize else layer_height / 4" },
+        "meshfix_maximum_deviation": { "value": "(layer_height / 3) if magic_spiralize else (layer_height / 4)" },
         "meshfix_maximum_travel_resolution": { "value": 0.5 },
         "prime_blob_enable": { "enabled": true, "default_value": true, "value": "resolveOrValue('print_sequence') != 'one_at_a_time'" },
         "retraction_prime_speed": { "value": "15" },