This commit is contained in:
Motiejus Jakštys 2021-04-03 09:30:10 +03:00
parent 38b837d870
commit 0c7424ae25

View File

@ -245,7 +245,8 @@ begin
bends[i+1] = st_removepoint(bends[i+1], 0);
bends[j] = st_geometryn(multi, 1);
bends[j] = st_setpoint(
bends[j], st_npoints(bends[j])-1,
bends[j],
st_npoints(bends[j])-1,
st_pointn(bends[i], st_npoints(bends[i]))
);
bends = bends[1:j] || bends[i+1:prev_length];