diff options
author | Seva Alekseyev <sevaa@nih.gov> | 2016-08-12 23:11:57 +0300 |
---|---|---|
committer | Ghostkeeper <rubend@tutanota.com> | 2016-08-24 18:28:30 +0300 |
commit | 13ead1e4de4a1247b3319dc45494f66c69ed1868 (patch) | |
tree | be50b94788770af7681b1f35b3c2ed66f616f635 /plugins/X3DReader | |
parent | a27f82e64b160cbfba78dc640477ba7e3e083457 (diff) |
Holeless Disk2D fix
Diffstat (limited to 'plugins/X3DReader')
-rw-r--r-- | plugins/X3DReader/X3DReader.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/X3DReader/X3DReader.py b/plugins/X3DReader/X3DReader.py index 8a5822d9ed..cb74188b6e 100644 --- a/plugins/X3DReader/X3DReader.py +++ b/plugins/X3DReader/X3DReader.py @@ -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) |