Merge pull request #1113 from JoeXinfa/fix-typo-bug

Fix typo bug
This commit is contained in:
Kenneth Lyons 2020-01-11 10:40:30 -08:00 committed by GitHub
commit 6a2791e1c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -371,7 +371,7 @@ class MeshData(object):
#pass #pass
def _computeEdges(self): def _computeEdges(self):
if not self.hasFaceIndexedData: if not self.hasFaceIndexedData():
## generate self._edges from self._faces ## generate self._edges from self._faces
nf = len(self._faces) nf = len(self._faces)
edges = np.empty(nf*3, dtype=[('i', np.uint, 2)]) edges = np.empty(nf*3, dtype=[('i', np.uint, 2)])