Skip to content

Commit f29fc3a

Browse files
Update vector.py
1 parent cb941a6 commit f29fc3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gemgis/vector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8785,7 +8785,7 @@ def create_polygons_from_faces(
87858785
raise TypeError("Return_gdf argument must be of type bool")
87868786

87878787
# Reshaping the faces array and selecting index values
8788-
faces_indices = mesh.faces.reshape(mesh.n_faces, 4)[:, 1:]
8788+
faces_indices = mesh.faces.reshape(mesh.n_faces_strict, 4)[:, 1:]
87898789

87908790
# Getting the coordinate triplets of each face based on the face indices
87918791
list_coords = mesh.points[faces_indices]

0 commit comments

Comments
 (0)