Skip to content

Commit

Permalink
Update _surface.py
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanesbit committed Jun 27, 2023
1 parent b468bed commit 621a294
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions resqpy/surface/_surface.py
Original file line number Diff line number Diff line change
Expand Up @@ -938,13 +938,13 @@ def resampled_surface(self, title = None):
tris = []
for i in range(len(rt)):
tris.extend([[rt[i][0], count1 + i, count3 + i], [rt[i][1], count2 + i, count3 + i],
[rt[i][2], count1 + i, count2 + i], [count1 + i, count2 + i, count3 + i]])
[rt[i][2], count1 + i, count2 + i], [count1 + i, count2 + i, count3 + i]])

if title is None:
title = self.citation_title
resampled = rqs.Surface(self.model,
title = title,
crs_uuid = self.crs_uuid,
title = title,
crs_uuid = self.crs_uuid,
extra_metadata = {'resampled from surface': str(self.uuid)})
resampled.set_from_triangles_and_points(np.array(tris), allpoints)

Expand Down

0 comments on commit 621a294

Please sign in to comment.