From 621a2941d4ad0dc6f1b33a092ccd49a060c29f2e Mon Sep 17 00:00:00 2001 From: emmanesbit <84792288+emmanesbit@users.noreply.github.com> Date: Tue, 27 Jun 2023 16:16:22 +0100 Subject: [PATCH] Update _surface.py --- resqpy/surface/_surface.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resqpy/surface/_surface.py b/resqpy/surface/_surface.py index 4c3a5c92..7968a58b 100644 --- a/resqpy/surface/_surface.py +++ b/resqpy/surface/_surface.py @@ -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)