do not round added deltas; fixes #2866

This commit is contained in:
justvanrossum 2021-02-16 20:55:16 +01:00 committed by Behdad Esfahbod
parent 103ed7da83
commit 1d8a89504b
1 changed files with 2 additions and 2 deletions

View File

@ -652,8 +652,8 @@ no_more_gaps:
/* apply specified / inferred deltas to points */ /* apply specified / inferred deltas to points */
for (unsigned int i = 0; i < points.length; i++) for (unsigned int i = 0; i < points.length; i++)
{ {
points[i].x += roundf (deltas[i].x); points[i].x += deltas[i].x;
points[i].y += roundf (deltas[i].y); points[i].y += deltas[i].y;
} }
} while (iterator.move_to_next ()); } while (iterator.move_to_next ());