nearest_grid_point() needs to reflect $grid_spacing value. Currently is hard-coded to closest pixel ending in 0 or 5 (works fine if $grid_spacing = 5)
Log in to post a comment.