Repair showing build volume

We needed to apply the Minkowski hull on the polygon or it would be disjunct and wouldn't show up in the interface.

Contributes to issue CURA-2625.
This commit is contained in:
Ghostkeeper 2016-11-11 14:18:08 +01:00
parent 41c8371b86
commit ccccf62bf7
No known key found for this signature in database
GPG key ID: C5F96EE2BC0F7E75

View file

@ -470,6 +470,7 @@ class BuildVolume(SceneNode):
[prime_tower_x, prime_tower_y], [prime_tower_x, prime_tower_y],
[prime_tower_x - prime_tower_size, prime_tower_y], [prime_tower_x - prime_tower_size, prime_tower_y],
]) ])
prime_tower_area = prime_tower_area.getMinkowskiHull(Polygon.approximatedCircle(0))
result.append(prime_tower_area) result.append(prime_tower_area)
return result return result