mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 01:19:01 +08:00
Holeless Disk2D fix
This commit is contained in:
parent
a27f82e64b
commit
13ead1e4de
@ -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