stbrp__skyline_find_best_pos didn't correctly handle rects too large to ever fit inside the context. Since that function also pads the width up to a multiple of the alignment, it makes the most sense to do that check right after (but before entering the main packing loop). While we're here, also fix an off-by-1 bug in the best-fit heuristic where it didn't want to use the last row in certain cases. Fixes issue #701.master
parent
59e9702be5
commit
ae431d75e0
1 changed files with 9 additions and 1 deletions
Loading…
Reference in New Issue