diff --git a/doc/users/Tuto1/step2.pamhyr b/doc/users/Tuto1/step2.pamhyr index c7516dff606939dd005eafa8e54776cee528a4ee..e10e685b6ce4b9e25e4542a1b28f15fdaa745870 100644 Binary files a/doc/users/Tuto1/step2.pamhyr and b/doc/users/Tuto1/step2.pamhyr differ diff --git a/doc/users/Tuto1/step3.pamhyr b/doc/users/Tuto1/step3.pamhyr index 018a4aea279cf4566b96ce30dc3229f0bf7133cf..00a39e3a44170e11157d417d529b9238a17d726a 100644 Binary files a/doc/users/Tuto1/step3.pamhyr and b/doc/users/Tuto1/step3.pamhyr differ diff --git a/src/Model/Geometry/ProfileXYZ.py b/src/Model/Geometry/ProfileXYZ.py index 896388eff3c04875441b9a43017c9454d8a015ea..14187233482493643ebf33f2f821829a7c4e9913 100644 --- a/src/Model/Geometry/ProfileXYZ.py +++ b/src/Model/Geometry/ProfileXYZ.py @@ -492,10 +492,10 @@ class ProfileXYZ(Profile, SQLSubModel): line = [] if zz[self.number_points-1] < z: - line.append([station[self.number_points-1], z]) - if len(line) > 2: - lines.append(geometry.LineString(line)) - line = [] + line.append([station[self.number_points-1], z]) + if len(line) > 2: + lines.append(geometry.LineString(line)) + line = [] return lines