remove unneeded copy

This commit is contained in:
jan 2018-03-20 15:44:41 -07:00
commit abb54935ad

View file

@ -76,7 +76,7 @@ def split(poly, plane, left_only: bool = False):
src_pns = None src_pns = None
while edge_walk.size > 0: while edge_walk.size > 0:
prev_verts = edge_walk[:, 0] prev_verts = edge_walk[:, 0]
cur_verts = edge_walk[:, 1].copy() cur_verts = edge_walk[:, 1]
# Get the list of our current neighbors, find which one points to the # Get the list of our current neighbors, find which one points to the
# vertex we came from, and choose the next (ccw) one # vertex we came from, and choose the next (ccw) one