mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 14:45:55 +08:00
Update to handle the removal of MeshData.setCenterPosition and MeshData.setVertexUVCoordinates().
Contributes to CURA-1504
This commit is contained in:
parent
dfccbf636a
commit
a109396c0d
@ -113,10 +113,10 @@ class BuildVolume(SceneNode):
|
|||||||
Vector(max_w, min_h - 0.2, max_d),
|
Vector(max_w, min_h - 0.2, max_d),
|
||||||
Vector(min_w, min_h - 0.2, max_d)
|
Vector(min_w, min_h - 0.2, max_d)
|
||||||
)
|
)
|
||||||
self._grid_mesh = mb.getData()
|
|
||||||
for n in range(0, 6):
|
for n in range(0, 6):
|
||||||
v = self._grid_mesh.getVertex(n)
|
v = mb.getVertex(n)
|
||||||
self._grid_mesh.setVertexUVCoordinates(n, v[0], v[2])
|
mb.setVertexUVCoordinates(n, v[0], v[2])
|
||||||
|
self._grid_mesh = mb.getData()
|
||||||
|
|
||||||
disallowed_area_height = 0.1
|
disallowed_area_height = 0.1
|
||||||
disallowed_area_size = 0
|
disallowed_area_size = 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user