mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-13 20:43:16 +08:00
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:
parent
41c8371b86
commit
ccccf62bf7
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user