mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-03 22:20:42 +08:00
Holeless Disk2D fix
This commit is contained in:
parent
e4bac94189
commit
e7cfd24e9a
@ -605,8 +605,7 @@ class X3DReader(MeshReader):
|
||||
|
||||
angle = 2 * pi / n
|
||||
|
||||
if innerRadius:
|
||||
self.reserveFaceAndVertexCount(n*4 if innerRadius else n-2, n*2 if innerRadius else n)
|
||||
self.reserveFaceAndVertexCount(n*4 if innerRadius else n-2, n*2 if innerRadius else n)
|
||||
|
||||
for i in range(n):
|
||||
s = sin(angle * i)
|
||||
|
Loading…
x
Reference in New Issue
Block a user