mirror of
https://github.com/yeicor-3d/yet-another-cad-viewer.git
synced 2025-12-19 22:24:17 +01:00
fix: typo
This commit is contained in:
@@ -36,7 +36,7 @@ def tessellate(
|
|||||||
vertex_to_faces: Dict[str, List[TopoDS_Face]] = {}
|
vertex_to_faces: Dict[str, List[TopoDS_Face]] = {}
|
||||||
if faces:
|
if faces:
|
||||||
for face in shape.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:
|
if edges:
|
||||||
for edge in face.edges():
|
for edge in face.edges():
|
||||||
edge_to_faces[edge.wrapped] = edge_to_faces.get(edge.wrapped, []) + [face.wrapped]
|
edge_to_faces[edge.wrapped] = edge_to_faces.get(edge.wrapped, []) + [face.wrapped]
|
||||||
|
|||||||
Reference in New Issue
Block a user