commit a9df442dffb53b9883b9a1608e28619f453d3d59 parent 202dc45b33773e7111ea6e7ad3ccc6f3b185b10e Author: Vincent Forest <vincent.forest@meso-star.com> Date: Wed, 15 Dec 2021 12:31:59 +0100 Fix the function sdis_heat_path_line_strip_get_vertices_count Diffstat:
| M | src/sdis_heat_path.c | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/sdis_heat_path.c b/src/sdis_heat_path.c @@ -107,9 +107,9 @@ sdis_heat_path_line_strip_get_vertices_count } if(istrip == nstrips-1) { /* Last strip */ - ivert_end = darray_heat_vertex_size_get(&path->vertices) - ivert_begin; + ivert_end = darray_heat_vertex_size_get(&path->vertices); } else { - ivert_end = line_strip_vertex_offset(path, istrip+1) - ivert_begin; + ivert_end = line_strip_vertex_offset(path, istrip+1); } ASSERT(ivert_begin <= ivert_end);