fix: typo

This commit is contained in:
Chaser Huang
2024-10-07 21:36:06 -04:00
committed by Yeicor
parent 712e0a06e6
commit 0939e25da2

View File

@@ -36,7 +36,7 @@ def tessellate(
vertex_to_faces: Dict[str, List[TopoDS_Face]] = {}
if faces:
for face in shape.faces():
_tessellate_face(mgr, face.wrapped, tolerance, angular_tolerance, color)
_tessellate_face(mgr, face.wrapped, tolerance, angular_tolerance, obj_color)
if edges:
for edge in face.edges():
edge_to_faces[edge.wrapped] = edge_to_faces.get(edge.wrapped, []) + [face.wrapped]