Meshing: Debug error caused by index out of range when adding an empty transect on a reach

This commit is contained in:
Dylan Jeannin committed 2026-06-22 15:18:08 +02:00
1 parent 2d5455c09d
commit fa8948c1b6
1 file changed
+1 -1
+1 -1
View File
@@ -143,7 +143,7 @@ class PlotAC(PamhyrPlot):
] ]
else: else:
color = self.color_incomplete_gl[ color = self.color_incomplete_gl[
lincomplete.index(txt) lincomplete.index(txt) % len(self.color_incomplete_gl)
] ]
annotation = self.canvas.axes.annotate( annotation = self.canvas.axes.annotate(