diff --git a/cameo/area.c b/cameo/area.c index df8382d..cf58116 100644 --- a/cameo/area.c +++ b/cameo/area.c @@ -257,8 +257,8 @@ static void do_line(const struct path *path, const struct path **sub, last = *s; if (next-x > 2*r_tool-2*overlap) { new = path_new(r_tool, ""); - path_add(new, x, y, path->first->z); - path_add(new, next, y, path->first->z); + path_add(new, x+r_tool-overlap, y, path->first->z); + path_add(new, next-r_tool+overlap, y, path->first->z); new->next = *res; *res = new; }