Fix prime_tower_size import

It was using math.sqrt incorrectly and also was trying to divide strings by each other, while they were floats.

Contributes to issue CURA-37.
This commit is contained in:
Ghostkeeper 2015-12-18 10:03:34 +01:00
parent 0454b37243
commit d2513f9bbb

View File

@ -69,7 +69,7 @@
"magic_mesh_surface_mode": "simple_mode",
"magic_spiralize": "spiralize",
"prime_tower_enable": "wipe_tower",
"prime_tower_size": "sqrt(wipe_tower_volume / layer_height)",
"prime_tower_size": "math.sqrt(float(wipe_tower_volume) / float(layer_height))",
"ooze_shield_enabled": "ooze_shield"
}
}