diff --git a/src/compas/datastructures/mesh/mesh.py b/src/compas/datastructures/mesh/mesh.py index 06ac181869d..a83ffae1ecc 100644 --- a/src/compas/datastructures/mesh/mesh.py +++ b/src/compas/datastructures/mesh/mesh.py @@ -2932,7 +2932,7 @@ def quads_to_triangles(self, check_angles=False): del self.facedata[face] # only reason this is here and not on the halfedge is because of the spatial tree - def unify_cycles(self, root=None, nmax=None, radius=None): + def unify_cycles(self, root=None, nmax=None, max_distance=None): """Unify the cycles of the mesh. Parameters @@ -2960,7 +2960,7 @@ def unify_cycles(self, root=None, nmax=None, radius=None): vertices = self.vertices_attributes("xyz") faces = [[vertex_index[vertex] for vertex in self.face_vertices(face)] for face in self.faces()] - unify_cycles(vertices, faces, root=root, nmax=nmax, radius=radius) + unify_cycles(vertices, faces, root=root, nmax=nmax, max_distance=max_distance) self.halfedge = {key: {} for key in self.vertices()} for index, vertices in enumerate(faces):