mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 23:46:22 -06:00
One small change for #2
This commit is contained in:
parent
14943354fa
commit
b82ff11d54
1 changed files with 4 additions and 4 deletions
|
@ -250,10 +250,10 @@ class PrinterApplication(QtApplication):
|
||||||
|
|
||||||
for area in disallowed_areas:
|
for area in disallowed_areas:
|
||||||
polygon = []
|
polygon = []
|
||||||
polygon.append(Vector(area[0][0], 0.1, area[0][1]))
|
polygon.append(Vector(area[0][0], 0.2, area[0][1]))
|
||||||
polygon.append(Vector(area[1][0], 0.1, area[1][1]))
|
polygon.append(Vector(area[1][0], 0.2, area[1][1]))
|
||||||
polygon.append(Vector(area[2][0], 0.1, area[2][1]))
|
polygon.append(Vector(area[2][0], 0.2, area[2][1]))
|
||||||
polygon.append(Vector(area[3][0], 0.1, area[3][1]))
|
polygon.append(Vector(area[3][0], 0.2, area[3][1]))
|
||||||
areas.append(polygon)
|
areas.append(polygon)
|
||||||
self._volume.setDisallowedAreas(areas)
|
self._volume.setDisallowedAreas(areas)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue